Skip to content
Snippets Groups Projects
Verified Commit f1b9809c authored by TheJoeCoder's avatar TheJoeCoder
Browse files

CI Updates (hopefully it doesn't break)

parent 689674da
Branches
No related tags found
No related merge requests found
Pipeline #304 passed
...@@ -6,11 +6,31 @@ variables: ...@@ -6,11 +6,31 @@ variables:
GIT_STRATEGY: clone GIT_STRATEGY: clone
GIT_SUBMODULE_STRATEGY: recursive GIT_SUBMODULE_STRATEGY: recursive
TZ: Europe/London TZ: Europe/London
GIT_USER: "project_47_bot_9a59ab19c567101311c7ddc9f73941a5"
GIT_EMAIL: "project_47_bot_9a59ab19c567101311c7ddc9f73941a5@noreply.git.rb9.xyz"
GIT_NAME: "GitLab CI"
image: image:
name: golang:1.23.3-bookworm 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: pages:
stage: deploy
script: script:
# Install brotli # Install brotli
- apt-get update - apt-get update
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment