1
0
mirror of https://gitlab.com/MisterBiggs/brain-quartz.git synced 2025-06-15 17:26:40 +00:00
brain-quartz/.gitlab-ci.yml
Anson Biggs ba23eebd94 Revert "need an identity set ig"
This reverts commit 68ebea3490addea5c3ca99a28f66b226fee43944.
2025-06-08 12:16:50 -06:00

18 lines
500 B
YAML

pages:
image: node:22
stage: deploy
rules:
- if: '$CI_COMMIT_REF_NAME == "v4"'
before_script:
- git config --global url."https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/".insteadOf "git@gitlab.com:"
- git clone git@gitlab.com:Anson-Projects/brain.git
- git subtree add --prefix=content/ brain/ master
- hash -r
- npm ci --cache .npm --prefer-offline
script:
- npx quartz build
- echo "Deploying to GitLab Pages..."
artifacts:
paths:
- public