Update docker-image.yml
This commit is contained in:
parent
1274cc3389
commit
ebcd0b94ed
1 changed files with 2 additions and 2 deletions
4
.github/workflows/docker-image.yml
vendored
4
.github/workflows/docker-image.yml
vendored
|
|
@ -15,7 +15,7 @@ jobs:
|
||||||
id: status
|
id: status
|
||||||
run: |
|
run: |
|
||||||
LOCALAPPVER=($(cat sandstorm.version))
|
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
|
if [ -z "$REMOTEAPPVER" -a "$REMOTEAPPVER" = " " ]; then
|
||||||
echo "Empty Response"
|
echo "Empty Response"
|
||||||
exit 1
|
exit 1
|
||||||
|
|
@ -74,4 +74,4 @@ jobs:
|
||||||
run: git fetch origin master
|
run: git fetch origin master
|
||||||
- name: push code to master
|
- name: push code to master
|
||||||
if: steps.build.outcome == 'success'
|
if: steps.build.outcome == 'success'
|
||||||
run: git push origin HEAD:master
|
run: git push origin HEAD:master
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue