-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: use cancel-workflow-action (#1720)
- Loading branch information
Showing
8 changed files
with
94 additions
and
32 deletions.
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
name: Deploy | ||
on: | ||
issues: | ||
types: [closed, edited, deleted] | ||
jobs: | ||
run: | ||
runs-on: macos-latest | ||
if: ${{ github.event.issue.author_association == 'OWNER' }} | ||
steps: | ||
- name: Cancel Workflow | ||
uses: styfle/[email protected] | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: Deploy to Vercel | ||
uses: BetaHuhn/[email protected] | ||
with: | ||
GITHUB_TOKEN: ${{ secrets.GH_PAT }} | ||
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }} | ||
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }} | ||
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }} |
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,6 +4,8 @@ jobs: | |
run: | ||
runs-on: macos-latest | ||
steps: | ||
- name: Cancel Workflow Action | ||
uses: styfle/[email protected] | ||
- uses: actions/checkout@v3 | ||
- name: Cache node modules | ||
uses: actions/cache@v3 | ||
|
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 |
---|---|---|
|
@@ -6,4 +6,5 @@ node_modules | |
yarn-error.log | ||
.vscode | ||
coverage | ||
.next | ||
.next | ||
.vercel |
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
This file was deleted.
Oops, something went wrong.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
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
a8cc873
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
aless-co – ./
aless-co.vercel.app
aless-co-alessbell.vercel.app
aless-co-git-main-alessbell.vercel.app
aless.co
bellisar.io