This commit is contained in:
parent
e15faca135
commit
ba95ac7743
1 changed files with 2 additions and 2 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 --header 'Content-Type: multipart/form-data' --header 'Static-Hoster-Key: $API_KEY' --form STATIC_PAGE=@$(pwd)/archive.tar.gz"
|
||||
secrets: [ api_key, url ]
|
||||
- "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 ]
|
||||
|
|
Reference in a new issue