-
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.
- Loading branch information
1 parent
f86dd46
commit 6a923b3
Showing
9 changed files
with
614 additions
and
614 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 |
---|---|---|
@@ -1,28 +1,28 @@ | ||
name: Deploy to Vercel | ||
|
||
on: | ||
push: | ||
branches: ['main'] | ||
|
||
jobs: | ||
deploy: | ||
environment: 'Production' | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Use Node.js | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: '20' # or whatever version you're using. | ||
|
||
- name: Install dependencies | ||
run: npm ci | ||
|
||
- name: Deploy to Vercel | ||
run: npx vercel --prod --token ${{ secrets.VERCEL_TOKEN }} | ||
env: | ||
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }} | ||
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }} | ||
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }} | ||
name: Deploy to Vercel | ||
|
||
on: | ||
push: | ||
branches: ['main'] | ||
|
||
jobs: | ||
deploy: | ||
environment: 'Production' | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Use Node.js | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: '20' # or whatever version you're using. | ||
|
||
- name: Install dependencies | ||
run: npm ci | ||
|
||
- name: Deploy to Vercel | ||
run: npx vercel --prod --token ${{ secrets.VERCEL_TOKEN }} | ||
env: | ||
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }} | ||
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }} | ||
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }} |
Oops, something went wrong.