Revert, because pwd is cleaner imho
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
fcc10eb614
commit
4aaf7f0a6d
1 changed files with 1 additions and 1 deletions
|
@ -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 ]
|
Reference in a new issue