Skip to content

Commit

Permalink
ci: trigger Vercel build after release
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisvxd committed Dec 13, 2023
1 parent f8e4608 commit b7d166a
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ on:
branches:
- "main"
- "releases/**"

permissions:
contents: write
jobs:
tag-and-publish-to-npm:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -34,4 +35,12 @@ jobs:
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

# Trigger a new build to ensure Vercel creates a distinct release branch, rather than reusing latest
- name: Triggering new build
run: |
git config --global user.name 'chrisvxd'
git config --global user.email '[email protected]'
git commit -m "ci: trigger build" --allow-empty
git push
timeout-minutes: 10

0 comments on commit b7d166a

Please sign in to comment.