This commit is contained in:
parent
4bb252465d
commit
f72171c0c4
1 changed files with 1 additions and 0 deletions
|
@ -9,5 +9,6 @@ pipeline:
|
||||||
- apt update && apt install curl -y
|
- apt update && apt install curl -y
|
||||||
- hugo
|
- hugo
|
||||||
- tar -czf archive.tar.gz -C ./public/ .
|
- tar -czf archive.tar.gz -C ./public/ .
|
||||||
|
- echo $APIKEY
|
||||||
- "curl --request POST --url $URL --header 'Content-Type: multipart/form-data' --header 'Static-Hoster-Key: $APIKEY' --form STATIC_PAGE=@$(pwd)/archive.tar.gz"
|
- "curl --request POST --url $URL --header 'Content-Type: multipart/form-data' --header 'Static-Hoster-Key: $APIKEY' --form STATIC_PAGE=@$(pwd)/archive.tar.gz"
|
||||||
secrets: [ apikey, url ]
|
secrets: [ apikey, url ]
|
||||||
|
|
Reference in a new issue