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:
build:
image: alpine:edge
commands:
- apk add --no-cache zola
- zola build
- rm public/robots.txt public/sitemap.xml
deploy:
image: alpine:latest
name: Zip files
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
- zip -r project.zip . -x ".*"
- 'AUTH_HEADER="Authorization: Bearer $PAGES_API_KEY"'