We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a89e0e commit 782dbc0Copy full SHA for 782dbc0
.github/workflows/deploy.yml
@@ -51,8 +51,9 @@ jobs:
51
run: |
52
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')
53
echo "tag=$latest_tag" >> $GITHUB_OUTPUT
54
- - name: Checkout latest tag
55
- run: git checkout ${{ steps.get_latest_tag.outputs.tag }}
+ - name: Set production branch to latest tag deployed to staging
+ run: |
56
+ git reset --hard ${{ steps.get_latest_tag.outputs.tag }}
57
- name: Create Pull Request
58
uses: peter-evans/[email protected]
59
with:
0 commit comments