This commit is contained in:
parent
c126987204
commit
f787448021
1 changed files with 2 additions and 2 deletions
|
@ -9,5 +9,5 @@ pipeline:
|
|||
- apk add curl
|
||||
- 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: $API_KEY' --form STATIC_PAGE=@$(pwd)/archive.tar.gz"
|
||||
secrets: [ API_KEY, URL ]
|
||||
|
|
Reference in a new issue