diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 56257c0291ae83f25001dfcb042defd84364012d..323c2cc6a0e2e9592467d07349b95392a87e541a 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,12 +1,14 @@
-pages:
+stages:
+  - deploy # mandatory name for the stage to GitLab detect it's a Pages deployment
+
+# Pages
+pages: # mandatory name for the job to GitLab detect it's a Pages deployment
   stage: deploy
-  image: python:latest
-  script:
-    - pip install mkdocs-material
-    - mkdocs build --site-dir public
+  image: javanile/mkdocs # Image containing tools required for mkdocs
+  script: mkdocs build
   artifacts:
     paths:
-      - public
-  rules:
-    - if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
-    
\ No newline at end of file
+      - public # set public to be deploy
+  needs: []
+  only:
+    - main # only update pages from main branch
diff --git a/mkdocs.yml b/mkdocs.yml
index 76462a3435ec1e04173ce070c32ec96ac5e797d5..fcfdc4d9777bf9555a5e9075bfd6c73f4db9eef2 100644
--- a/mkdocs.yml
+++ b/mkdocs.yml
@@ -1,29 +1,3 @@
-site_name: Techdox Docs
-nav:
-  - Home: index.md
-  - About: about.md
-  - Docker Containers:
-      - Overview: docker-containers.md
-      - Adguard: adguard.md
-      # Additional Docker container pages...
-  - Networking:
-      - Overview: networking-overview.md
-      - GlusterFS: glusterfs.md
-  # Additional sections...
-
-theme:
-  name: material
-  logo: path/to/logo.png
-
-markdown_extensions:
-  - abbr
-  - admonition
-  - attr_list
-  # Additional Markdown extensions...
-  - pymdownx.arithmatex:
-      generic: true
-  - pymdownx.emoji:
-      emoji_index: !!python/name:material.extensions.emoji.twemoji
-      emoji_generator: !!python/name:material.extensions.emoji.to_svg
-  - pymdownx.superfences
-  # More pymdownx extensions...
\ No newline at end of file
+site_name: 👽 Beautiful Pages with mkdocs
+site_dir: 'public/'
+docs_dir: 'docs'