Skip to content

Commit 782dbc0

Browse files
committed
chore: debugging prod deploy pr
1 parent 5a89e0e commit 782dbc0

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/deploy.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,9 @@ jobs:
5151
run: |
5252
latest_tag=$(git --no-pager log origin/staging --all --grep="chore: point staging to release v" --pretty=format:"%H %s" | head -n1 | sed -n 's/.*release \(v[0-9]*\.[0-9]*\.[0-9]*\).*/\1/p')
5353
echo "tag=$latest_tag" >> $GITHUB_OUTPUT
54-
- name: Checkout latest tag
55-
run: git checkout ${{ steps.get_latest_tag.outputs.tag }}
54+
- name: Set production branch to latest tag deployed to staging
55+
run: |
56+
git reset --hard ${{ steps.get_latest_tag.outputs.tag }}
5657
- name: Create Pull Request
5758
uses: peter-evans/[email protected]
5859
with:

0 commit comments

Comments
 (0)