mirror of https://gitlab.com/curben/blog
ci: move cf-images to deploy job
This commit is contained in:
parent
2730e463db
commit
6e278268a6
|
@ -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")'
|
||||
|
|
Loading…
Reference in New Issue