1
Fork 0

fix woodpecker warning
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Hadeed 2024-11-25 19:43:21 +05:00
parent b78a15209f
commit e8d5277c6a

View file

@ -1,16 +1,11 @@
steps: steps:
build:
image: alpine:edge
commands:
- apk add --no-cache zola
- zola build
- rm public/robots.txt public/sitemap.xml
deploy: deploy:
image: alpine:latest image: alpine:latest
name: Zip files name: Zip files
commands: commands:
- apk add --no-cache zip curl - apk add --no-cache curl zip zola
- zola build
- rm public/robots.txt public/sitemap.xml
- cd public - cd public
- zip -r project.zip . -x ".*" - zip -r project.zip . -x ".*"
- 'AUTH_HEADER="Authorization: Bearer $PAGES_API_KEY"' - 'AUTH_HEADER="Authorization: Bearer $PAGES_API_KEY"'