ci(testing-deploy): update workflow to handle force-push scenerio (#4503)

Signed-off-by: Prashant Shahi <prashant@signoz.io>
This commit is contained in:
Prashant Shahi 2024-02-06 16:49:23 +05:30 committed by GitHub
parent f6ab060545
commit 56b71d0f02
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -33,8 +33,11 @@ jobs:
git add .
git stash push -m "stashed on $(date --iso-8601=seconds)"
git fetch origin
git checkout ${GITHUB_BRANCH}
git checkout develop
git pull
# This is added to include the scenerio when new commit in PR is force-pushed
git branch -D ${GITHUB_BRANCH}
git checkout --track origin/${GITHUB_BRANCH}
make build-ee-query-service-amd64
make build-frontend-amd64
make run-signoz