Update docker-image.yml

This commit is contained in:
Andrew Marchukov 2023-05-24 12:13:41 +04:00 committed by GitHub
parent 1274cc3389
commit ebcd0b94ed
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -15,7 +15,7 @@ jobs:
id: status
run: |
LOCALAPPVER=($(cat sandstorm.version))
REMOTEAPPVER=($(curl -s -X GET 'https://api.steamcmd.net/v1/info/581330' | jq -r -e '.data."581330".depots."581333".manifests.public'))
REMOTEAPPVER=($(curl -s -X GET 'https://api.steamcmd.net/v1/info/581330' | jq -r -e '.data."581330".depots."581333".manifests.public.gid'))
if [ -z "$REMOTEAPPVER" -a "$REMOTEAPPVER" = " " ]; then
echo "Empty Response"
exit 1
@ -74,4 +74,4 @@ jobs:
run: git fetch origin master
- name: push code to master
if: steps.build.outcome == 'success'
run: git push origin HEAD:master
run: git push origin HEAD:master