mirror of
https://gitlab.com/Anson-Projects/projects.git
synced 2025-09-14 09:35:04 +00:00
feat(ghost-upload): add update support, manual CI job, and dependency updates
This commit is contained in:
@@ -13,3 +13,17 @@ publish:
|
||||
- pages
|
||||
rules:
|
||||
- if: "$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH"
|
||||
|
||||
publish_update:
|
||||
stage: deploy
|
||||
image: rust:latest
|
||||
variables:
|
||||
UPDATE_EXISTING: "true"
|
||||
script:
|
||||
- cd ./ghost-upload
|
||||
- cargo run
|
||||
needs:
|
||||
- pages
|
||||
rules:
|
||||
- if: "$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH"
|
||||
when: manual
|
||||
|
Reference in New Issue
Block a user