Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove debug messages #15

Merged
merged 1 commit into from
Apr 13, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
remove debug messages
leftyfb committed Apr 13, 2024
commit f110c761c26a16856b501716bb98c99f11d2298d
2 changes: 0 additions & 2 deletions deploy-staging.sh
Original file line number Diff line number Diff line change
@@ -13,7 +13,6 @@ while true; do
# Get the checked out local commit
cd $staging_dir
latest_local_commit=$(git branch|awk -F '[ |)]' '/HEAD/ {print $5}')
echo "latest_local_Commit = ${latest_local_commit}" #DEBUG

# Get the last successful workflow run
response=$(curl -sS -H "Accept: application/vnd.github.v3+json" \
@@ -25,7 +24,6 @@ while true; do

# Extract commit ID if any successful run exists
latest_remote_merge_commit=$(echo ${response} | jq -r '.workflow_runs[0].head_commit.id'|cut -c1-7)
echo "latest merge commit = ${latest_remote_merge_commit}" #DEBUG

if [ "${latest_local_commit}" = "${latest_remote_merge_commit}" ]; then
echo "We are running the latest successful merge"