Skip to content

Commit 16973e2

Browse files
committed
feat: move deploy-vercel action to .github/actions
1 parent 93f61d7 commit 16973e2

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/workflows/prerelease.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88

99
jobs:
1010
deploy-en:
11-
uses: ./.github/workflows/vercel-deploy.yml
11+
uses: ./.github/actions/vercel-deploy
1212
with:
1313
environment: preview
1414
prodFlag: ''
@@ -18,7 +18,7 @@ jobs:
1818
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }}
1919

2020
deploy-zh-hans:
21-
uses: ./.github/workflows/vercel-deploy.yml
21+
uses: ./.github/actions/vercel-deploy
2222
with:
2323
environment: preview
2424
prodFlag: ''

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88

99
jobs:
1010
deploy-en:
11-
uses: ./.github/workflows/vercel-deploy.yml
11+
uses: ./.github/actions/vercel-deploy
1212
with:
1313
environment: production
1414
prodFlag: --prod
@@ -18,7 +18,7 @@ jobs:
1818
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }}
1919

2020
deploy-zh-hans:
21-
uses: ./.github/workflows/vercel-deploy.yml
21+
uses: ./.github/actions/vercel-deploy
2222
with:
2323
environment: production
2424
prodFlag: --prod

0 commit comments

Comments
 (0)