This commit is contained in:
@ -34,11 +34,11 @@ jobs:
|
|||||||
-H "Authorization: token $TOKEN" \
|
-H "Authorization: token $TOKEN" \
|
||||||
-H "Content-Type: text/plain" \
|
-H "Content-Type: text/plain" \
|
||||||
-T "$file" \
|
-T "$file" \
|
||||||
"$GITEA_API/$file?branch=main"
|
"$GITEA_API/$file?branch=production"
|
||||||
done
|
done
|
||||||
|
|
||||||
curl -X PUT \
|
curl -X PUT \
|
||||||
-H "Authorization: token $TOKEN" \
|
-H "Authorization: token $TOKEN" \
|
||||||
-H "Content-Type: application/gzip" \
|
-H "Content-Type: application/gzip" \
|
||||||
-T "deploy.tar.gz" \
|
-T "deploy.tar.gz" \
|
||||||
"$GITEA_API/deploy.tar.gz?branch=main"
|
"$GITEA_API/deploy.tar.gz?branch=production"
|
||||||
|
Reference in New Issue
Block a user