Skip to content

Commit 9c81780

Browse files
authored
Merge pull request #73 from YAPP-Github/feature/PRODUCT-143
2 parents 20effd6 + ec885ee commit 9c81780

File tree

1 file changed

+1
-21
lines changed

1 file changed

+1
-21
lines changed

.github/workflows/deploy.yml

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Deploy to Vercel
22

33
on:
44
push:
5-
branches: [main, stage]
5+
branches: [main]
66

77
jobs:
88
deploy-production:
@@ -20,25 +20,5 @@ jobs:
2020
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
2121
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
2222
PRODUCTION: true
23-
ALIAS_DOMAINS: eatda.net
2423
GITHUB_DEPLOYMENT: true
2524
GITHUB_DEPLOYMENT_ENV: Production
26-
27-
deploy-preview:
28-
if: github.ref == 'refs/heads/stage'
29-
runs-on: ubuntu-latest
30-
steps:
31-
- name: Checkout
32-
uses: actions/checkout@v4
33-
34-
- name: Deploy to Vercel (Preview)
35-
uses: mountainash/deploy-to-vercel-action@v2.5.0
36-
with:
37-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
38-
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }}
39-
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
40-
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
41-
PRODUCTION: false
42-
ALIAS_DOMAINS: dev.eatda.net
43-
GITHUB_DEPLOYMENT: true
44-
GITHUB_DEPLOYMENT_ENV: Preview

0 commit comments

Comments
 (0)