mirror of
https://gitlab.com/Anson-Projects/projects.git
synced 2025-08-02 19:41:38 +00:00
Upload Posts to Ghost
This commit is contained in:
15
ghost-upload/.gitlab-ci.yml
Normal file
15
ghost-upload/.gitlab-ci.yml
Normal file
@@ -0,0 +1,15 @@
|
||||
cache:
|
||||
paths:
|
||||
- ./ghost-upload/target/
|
||||
- ./ghost-upload/cargo/
|
||||
|
||||
publish:
|
||||
stage: deploy
|
||||
image: rust:latest
|
||||
script:
|
||||
- cd ./ghost-upload
|
||||
- cargo run
|
||||
needs:
|
||||
- pages
|
||||
rules:
|
||||
- if: "$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH"
|
Reference in New Issue
Block a user