Skip to content

Commit 82998ca

Browse files
committed
OPS-12 more debug
1 parent f37c20e commit 82998ca

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

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

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,14 +50,17 @@ jobs:
5050
run: |
5151
COMMIT_SHA=$(jq -r '.[] | select(.name == "frontend") | .git_commit' /tmp/dev-env.json)
5252
set -x
53-
echo
53+
echo "GH_TOKEN is set to: ${GH_TOKEN}"
5454
TAG="running-staging-frontend"
5555
if git rev-parse ${TAG} >/dev/null 2>&1; then
5656
git tag -d ${TAG}
5757
git push --delete origin ${TAG}
5858
fi
5959
git tag ${TAG} ${COMMIT_SHA}
60-
git push https://x-access-token:${GH_TOKEN}@github.com/kosli-dev/jira-integration-example.git ${TAG}
60+
git remote set-url origin https://x-access-token:${GH_TOKEN}@github.com/kosli-dev/jira-integration-example.git
61+
git push origin ${TAG}
62+
63+
#git push https://x-access-token:${GH_TOKEN}@github.com/kosli-dev/jira-integration-example.git ${TAG}
6164
#git push origin ${TAG}
6265
echo "Deployed frontend commit ${COMMIT_SHA}"
6366

0 commit comments

Comments
 (0)