diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index b71f7a612005dfc6c068d93f44b2fc0b363b5f92..4c1beac5274197efde0a16d8b771dd7c5d73d664 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -6,11 +6,31 @@ variables:
   GIT_STRATEGY: clone
   GIT_SUBMODULE_STRATEGY: recursive
   TZ: Europe/London
+  GIT_USER: "project_47_bot_9a59ab19c567101311c7ddc9f73941a5"
+  GIT_EMAIL: "project_47_bot_9a59ab19c567101311c7ddc9f73941a5@noreply.git.rb9.xyz"
+  GIT_NAME: "GitLab CI"
 
 image:
   name: golang:1.23.3-bookworm
 
+generate:
+  stage: build
+  image: python:3.11-bookworm
+  script:
+    - apt update
+    - apt install -y git
+    - echo "Generating site..."
+    - python3 updatecontent.py
+    - git config user.email "$GIT_EMAIL"
+    - git config user.name "$GIT_NAME"
+    - git remote add gitlab https://$GIT_USER:$GITLAB_TOKEN@git.rb9.xyz/TheJoeCoder/blog.git
+    - git add .
+    - echo $CI_COMMIT_REF_NAME
+    - git push gitlab HEAD:$CI_COMMIT_REF_NAME
+    
+
 pages:
+  stage: deploy
   script:
     # Install brotli
     - apt-get update