Revert, because pwd is cleaner imho
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Nikurasu 2023-04-22 21:48:25 +02:00
parent fcc10eb614
commit 4aaf7f0a6d
Signed by: Nikurasu
SSH key fingerprint: SHA256:+AKq1hZhgUm8pfho+PWiEm6jPseKdLuQgal750ATfUM

View file

@ -9,5 +9,5 @@ pipeline:
- apt update && apt install curl -y
- hugo
- tar -czf archive.tar.gz -C ./public/ .
- "curl --request POST --url $URL --user \"$USER:$APIKEY\" --header \"Content-Type: multipart/form-data\" --form \"STATIC_PAGE=@./archive.tar.gz\""
- "curl --request POST --url $URL --user \"$USER:$APIKEY\" --header \"Content-Type: multipart/form-data\" --form \"STATIC_PAGE=@$(pwd)/archive.tar.gz\""
secrets: [ apikey, url, user ]