write releaseid to file for persistance
Docker Build and Release Upload / build (push) Failing after 21s
Docker Build and Release Upload / build (push) Failing after 21s
This commit is contained in:
@@ -42,10 +42,11 @@ jobs:
|
|||||||
"prerelease": false
|
"prerelease": false
|
||||||
}' \
|
}' \
|
||||||
https://git.mistox.net/api/v1/repos/derek/MistoxCom-Angular/releases) && \
|
https://git.mistox.net/api/v1/repos/derek/MistoxCom-Angular/releases) && \
|
||||||
RELEASE_ID=$(echo "$RESPONSE" | grep -o '"id":[ ]*[0-9]*' | head -n 1 | grep -o '[0-9]*')
|
echo "(echo "$RESPONSE" | grep -o '"id":[ ]*[0-9]*' | head -n 1 | grep -o '[0-9]*')" > /release_id.txt
|
||||||
|
|
||||||
- name: publish database
|
- name: publish database
|
||||||
run: |
|
run: |
|
||||||
|
RELEASE_ID=$(cat /release_id.txt)
|
||||||
curl -X POST -H "Authorization: token ${{ secrets.PUBLISH_TOKEN }}" \
|
curl -X POST -H "Authorization: token ${{ secrets.PUBLISH_TOKEN }}" \
|
||||||
-F name="mistox-sql.tar" \
|
-F name="mistox-sql.tar" \
|
||||||
-F attachment=@/mistox-sql.tar \
|
-F attachment=@/mistox-sql.tar \
|
||||||
|
|||||||
Reference in New Issue
Block a user