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

22 lines
454 B
YAML

variables:
GIT_SUBMODULE_STRATEGY: recursive
GIT_SUBMODULE_FORCE_HTTPS: "true"
pages:
image: node:22
stage: deploy
rules:
- if: '$CI_COMMIT_REF_NAME == "v4"'
before_script:
- git submodule sync --recursive
- git submodule update --init --recursive --remote
- hash -r
- npm ci --cache .npm --prefer-offline
script:
- npx quartz build
- echo "Deploying to GitLab Pages..."
artifacts:
paths:
- public