From 1a9cb63f25c7f2dac58dc573cbcc31300a0b9ea3 Mon Sep 17 00:00:00 2001 From: Ming Di Leom <2809763-curben@users.noreply.gitlab.com> Date: Sun, 6 Oct 2024 02:54:04 +0000 Subject: [PATCH] ci: site assets are now served from curben/curben.gitlab.io https://gitlab.com/curben/curben.gitlab.io/-/commit/433b00def7dbe2c2c14b6067a95c5e8ef12b791f --- .gitlab-ci.yml | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) 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/