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 5fcee36d08 Revert "try to do a subtree"
This reverts commit e1cdf11c0bd89807850f08ce74e116fa93103dd4.
2025-06-08 12:16:54 -06:00

17 lines
463 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 --depth 1 git@gitlab.com:Anson-Projects/brain.git content
- hash -r
- npm ci --cache .npm --prefer-offline
script:
- npx quartz build
- echo "Deploying to GitLab Pages..."
artifacts:
paths:
- public