Skip to content

Commit

Permalink
Minor updates to deploy-job.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
toneillbroad committed Jul 3, 2024
1 parent 979d56c commit 402daff
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions misc/bin/deploy-job.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,6 @@ if [ $? -ne 0 ]; then
exit -1
fi

if [ -z "$branch" ]; then
branch=$(git rev-parse --abbrev-ref HEAD)
else
echo "branch set in environment"
fi
if [ -z "$commit" ]; then
commit=$(git rev-parse HEAD)
Expand All @@ -31,6 +27,7 @@ fi

echo "Branch: $branch"
echo "Commit: $commit"
echo "Instance name: $instance"

set -ue

Expand Down Expand Up @@ -100,3 +97,4 @@ fi
echo "Deployment complete."


## TODO add cloud run scheduler command to run when none exists for the project and region

0 comments on commit 402daff

Please sign in to comment.