We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4e0f5b0 commit 8f209b0Copy full SHA for 8f209b0
.github/workflows/deploy-to-staging.yml
@@ -51,12 +51,13 @@ jobs:
51
run: |
52
COMMIT_SHA=$(jq -r '.[] | select(.name == "frontend") | .git_commit' /tmp/dev-env.json)
53
set -x
54
+ git checkout $COMMIT_SHA
55
TAG="running-staging-frontend"
56
if git rev-parse ${TAG} >/dev/null 2>&1; then
57
git tag -d ${TAG}
58
git push --delete origin ${TAG}
59
fi
- git tag ${TAG} ${COMMIT_SHA}
60
+ git tag ${TAG}
61
git push origin ${TAG}
62
echo "Deployed frontend commit ${COMMIT_SHA}"
63
0 commit comments