Skip to content

Commit 6383a06

Browse files
author
MerchantPug
committed
Use Vercel for pushing the website.
1 parent 74a1620 commit 6383a06

2 files changed

Lines changed: 19 additions & 1 deletion

File tree

.github/workflows/on-push.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Deploy to vercel on push
2+
on:
3+
push:
4+
branches:
5+
- main
6+
jobs:
7+
build_and_deploy:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v4
11+
- uses: amondnet/vercel-action@v20
12+
with:
13+
vercel-token: ${{ secrets.VERCEL_TOKEN }}
14+
github-token: ${{ secrets.GITHUB_TOKEN }}
15+
vercel-args: '--prod'
16+
vercel-org-id: ${{ secrets.ORG_ID}}
17+
vercel-project-id: ${{ secrets.PROJECT_ID}}

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,5 @@ pnpm-debug.log*
2323
# jetbrains setting folder
2424
.idea/
2525

26-
.cache
26+
.cache
27+
.vercel

0 commit comments

Comments
 (0)