diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d00a4d9..d932b82 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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/