test deploy
All checks were successful
Go2ticket auto deployement / Go2ticket (push) Successful in 12s
All checks were successful
Go2ticket auto deployement / Go2ticket (push) Successful in 12s
This commit is contained in:
parent
4bca612fe5
commit
55c0bbf9e2
|
@ -47,7 +47,7 @@ jobs:
|
|||
"draft": true,
|
||||
"prerelease": false
|
||||
}' \
|
||||
"${{ secrets.GIT_URL }}/api/v1/repos/${{ github.repository }}/releases")
|
||||
"${{ vars.GIT_URL }}/api/v1/repos/${{ github.repository }}/releases")
|
||||
echo "Response: $RESPONSE"
|
||||
RELEASE_ID=$(echo $RESPONSE | jq -r '.id')
|
||||
echo "RELEASE_ID=${RELEASE_ID}"
|
||||
|
@ -56,12 +56,12 @@ jobs:
|
|||
curl -X POST -H "Authorization: token ${{ secrets.GIT_TOKEN }}" \
|
||||
-H "Content-Type: multipart/form-data" \
|
||||
-F "attachment=@go2ticket-firefox.xpi" \
|
||||
"${{ secrets.GIT_URL }}/api/v1/repos/${{ github.repository }}/releases/${RELEASE_ID}/assets"
|
||||
"${{ vars.GIT_URL }}/api/v1/repos/${{ github.repository }}/releases/${RELEASE_ID}/assets"
|
||||
|
||||
curl -X POST -H "Authorization: token ${{ secrets.GIT_TOKEN }}" \
|
||||
-H "Content-Type: multipart/form-data" \
|
||||
-F "attachment=@go2ticket-chrome.crx" \
|
||||
"${{ secrets.GIT_URL }}/api/v1/repos/${{ github.repository }}/releases/${RELEASE_ID}/assets"
|
||||
"${{ vars.GIT_URL }}/api/v1/repos/${{ github.repository }}/releases/${RELEASE_ID}/assets"
|
||||
else
|
||||
echo "Failed to create release. Aborting deployment."
|
||||
exit 1
|
||||
|
|
Loading…
Reference in New Issue
Block a user