mirror of
https://gitlab.com/Anson-Projects/zine.git
synced 2025-06-15 13:16:39 +00:00
Start fighting the CI
This commit is contained in:
parent
b54d1d339d
commit
03b95d1017
@ -4,6 +4,7 @@ stages:
|
||||
- test
|
||||
- build_site
|
||||
- deploy
|
||||
- notify
|
||||
|
||||
variables:
|
||||
CARGO_HOME: "$CI_PROJECT_DIR/cargo"
|
||||
@ -58,6 +59,21 @@ pages:
|
||||
rules:
|
||||
- if: "$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH"
|
||||
|
||||
indexnow:
|
||||
stage: notify
|
||||
needs:
|
||||
- deploy
|
||||
script:
|
||||
- |
|
||||
curl -X POST "https://api.indexnow.org/indexnow" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{
|
||||
"host": "https://zine.ansonbiggs.com",
|
||||
"key": "2433b0850f38472a9dab36367deb89fc",
|
||||
"urlList": ["https://zine.ansonbiggs.com", "https://zine.ansonbiggs.com/feed.xml"],
|
||||
"keyLocation": "https://zine.ansonbiggs.com/2433b0850f38472a9dab36367deb89fc.txt"
|
||||
}'
|
||||
|
||||
workflow:
|
||||
name: $CI_COMMIT_REF_NAME
|
||||
rules:
|
||||
|
1
output/2433b0850f38472a9dab36367deb89fc.txt
Normal file
1
output/2433b0850f38472a9dab36367deb89fc.txt
Normal file
@ -0,0 +1 @@
|
||||
2433b0850f38472a9dab36367deb89fc
|
Loading…
x
Reference in New Issue
Block a user