ci: site assets are now served from curben/curben.gitlab.io

433b00def7
This commit is contained in:
Ming Di Leom 2024-10-06 02:54:04 +00:00
parent 97363c38b1
commit 1a9cb63f25
No known key found for this signature in database
GPG Key ID: 32D3E28E96A695E8
1 changed files with 6 additions and 11 deletions

View File

@ -1,19 +1,14 @@
image: alpine:latest
pages:
before_script:
- apk update && apk add cpio
deploy_pages:
stage: deploy
script:
- mkdir -p .public
- find . \( -path ./node_modules -o -path ./themes -o -path '*/.*' -o -path ./README.md \) -prune -o -print | cpio -pdm .public/
- mv .public public
trigger:
project: curben/curben.gitlab.io
branch: master
strategy: depend
rules:
# Only "site" branch; Skip in renovate job
- if: '$RENOVATE != "true" && $CI_COMMIT_REF_NAME == "site"'
when: always
artifacts:
paths:
- public/