Skip to content

Commit 9565453

Browse files
authored
Merge pull request #58 from YAPP-Github/feature/PRODUCT-115
2 parents 23ced36 + 3290b64 commit 9565453

File tree

5 files changed

+36
-11817
lines changed

5 files changed

+36
-11817
lines changed

.github/workflows/deploy.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: deploy
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
- stage
8+
pull_request:
9+
branches:
10+
- main
11+
- stage
12+
types: [opened, synchronize, reopened]
13+
14+
permissions:
15+
deployments: write
16+
pull-requests: write
17+
18+
jobs:
19+
deploy:
20+
runs-on: ubuntu-latest
21+
steps:
22+
- uses: actions/checkout@v4
23+
24+
- uses: mountainash/deploy-to-vercel-action@v2.5.0
25+
with:
26+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
27+
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }}
28+
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
29+
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
30+
PRODUCTION: ${{ github.event_name == 'push' && github.ref_name == 'main' }}

0 commit comments

Comments
 (0)