only deploy to prod for manual pipelines
This commit is contained in:
parent
d682861585
commit
17c236831e
|
@ -59,7 +59,7 @@ deploy-dev:
|
|||
deploy-release:
|
||||
stage: deploy
|
||||
rules:
|
||||
- if: $CI_COMMIT_TAG && $CI_COMMIT_BRANCH == $PROD_BRANCH
|
||||
- if: $CI_COMMIT_BRANCH == $PROD_BRANCH && $CI_MANUAL
|
||||
variables:
|
||||
ITCH_USER: "cyndrdev"
|
||||
ITCH_GAME: "revival"
|
||||
|
|
|
@ -49,7 +49,6 @@ do
|
|||
# check for exit
|
||||
# TODO: ideally we should have a better indicator than the package manager's shutdown message
|
||||
if [[ $line == *"[Package Manager] Server::Kill -- Server was shutdown"* ]]; then
|
||||
echo "exit loop"
|
||||
break
|
||||
fi
|
||||
done
|
||||
|
@ -57,9 +56,7 @@ done
|
|||
# kill zombie tail process
|
||||
kill $(<"$work/tail.pid")
|
||||
|
||||
exitcode=$(cat $work/exitcode)
|
||||
echo "exit $exitcode"
|
||||
|
||||
exit $exitcode
|
||||
# exit with unity's exit code
|
||||
exit $(cat $work/exitcode)
|
||||
|
||||
# vim: tabstop=4 shiftwidth=4 expandtab
|
Loading…
Reference in New Issue