Skip to content

Commit 1b44cdb

Browse files
committed
ci: fix deploy-staging not creating PR
1 parent 849d36f commit 1b44cdb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
id: get_latest_tag
2929
run: echo "tag=$(git describe --tags `git rev-list --tags --max-count=1`)" >> $GITHUB_OUTPUT
3030
- name: Checkout latest tag
31-
run: git checkout ${{ steps.get_latest_tag.outputs.tag }}
31+
run: git reset --hard ${{ steps.get_latest_tag.outputs.tag }}
3232
- name: Create Pull Request
3333
uses: peter-evans/create-pull-request@5e914681df9dc83aa4e4905692ca88beb2f9e91f # v7.0.5
3434
with:

0 commit comments

Comments
 (0)