Revert, because pwd is cleaner imho
ci/woodpecker/push/woodpecker Pipeline was successful Details

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
1 changed files with 1 additions and 1 deletions

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 ]