diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 47fbced..83da367 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -18,7 +18,6 @@ build: script: # Generate site - npm run build - - npm run deploy-cf-images rules: # Only trigger through push & "Run pipeline" events not in "site" branch; Skip in renovate job @@ -65,6 +64,7 @@ deploy: script: - rsync -azvh --delete --exclude-from "rsync-exclude.txt" public/ host-1:/var/www/ - rsync -azvh --delete --exclude-from "rsync-exclude.txt" public/ host-2:/var/www/ + - npm run deploy-cf-images rules: - if: '$RENOVATE != "true" && $CI_COMMIT_REF_NAME == "master" && ($CI_PIPELINE_SOURCE == "push" || $CI_PIPELINE_SOURCE == "web")'