From e8d5277c6a242c7cb375430a675b313820aa6fb0 Mon Sep 17 00:00:00 2001 From: Hadeed Ahmad Date: Mon, 25 Nov 2024 19:43:21 +0500 Subject: [PATCH] fix woodpecker warning --- .woodpecker.yaml | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/.woodpecker.yaml b/.woodpecker.yaml index 1e36bf3..236a4f5 100644 --- a/.woodpecker.yaml +++ b/.woodpecker.yaml @@ -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"'