Skip to content

Commit 8f209b0

Browse files
committed
OPS-12 more debug
1 parent 4e0f5b0 commit 8f209b0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/deploy-to-staging.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,13 @@ jobs:
5151
run: |
5252
COMMIT_SHA=$(jq -r '.[] | select(.name == "frontend") | .git_commit' /tmp/dev-env.json)
5353
set -x
54+
git checkout $COMMIT_SHA
5455
TAG="running-staging-frontend"
5556
if git rev-parse ${TAG} >/dev/null 2>&1; then
5657
git tag -d ${TAG}
5758
git push --delete origin ${TAG}
5859
fi
59-
git tag ${TAG} ${COMMIT_SHA}
60+
git tag ${TAG}
6061
git push origin ${TAG}
6162
echo "Deployed frontend commit ${COMMIT_SHA}"
6263

0 commit comments

Comments
 (0)