-
Notifications
You must be signed in to change notification settings - Fork 384
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: trigger Vercel build after release
- Loading branch information
Showing
1 changed file
with
10 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,8 @@ on: | |
branches: | ||
- "main" | ||
- "releases/**" | ||
|
||
permissions: | ||
contents: write | ||
jobs: | ||
tag-and-publish-to-npm: | ||
runs-on: ubuntu-latest | ||
|
@@ -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 |