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