Skip to content

Commit

Permalink
Simplify vercel actions
Browse files Browse the repository at this point in the history
  • Loading branch information
fewensa authored Jul 16, 2024
1 parent e732e97 commit fde67fa
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 21 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/deploy-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,6 @@ jobs:
steps:
- uses: actions/checkout@v2

- uses: actions/checkout@v2
with:
repository: darwinia-network/devops
path: .github

- uses: actions/setup-node@v3
with:
node-version: 16
Expand All @@ -30,9 +25,8 @@ jobs:
mv dist build
mv vercel.json build/
- uses: ./.github/actions/smart-vercel
- uses: darwinia-network/devops/actions/smart-vercel@main
name: Deploy to Vercel
id: smart-vercel
with:
vercel_token: ${{ secrets.VERCEL_TOKEN }}
vercel_group: itering
Expand Down
8 changes: 1 addition & 7 deletions .github/workflows/deploy-prd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,6 @@ jobs:
steps:
- uses: actions/checkout@v2

- uses: actions/checkout@v2
with:
repository: darwinia-network/devops
path: .github

- uses: actions/setup-node@v3
with:
node-version: 16
Expand All @@ -32,9 +27,8 @@ jobs:
mv dist build
mv vercel.json build/
- uses: ./.github/actions/smart-vercel
- uses: darwinia-network/devops/actions/smart-vercel@main
name: Deploy to Vercel
id: smart-vercel
with:
vercel_token: ${{ secrets.VERCEL_TOKEN }}
vercel_group: itering
Expand Down
8 changes: 1 addition & 7 deletions .github/workflows/deploy-stg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,6 @@ jobs:
steps:
- uses: actions/checkout@v2

- uses: actions/checkout@v2
with:
repository: darwinia-network/devops
path: .github

- uses: actions/setup-node@v3
with:
node-version: 16
Expand All @@ -31,9 +26,8 @@ jobs:
mv dist build
mv vercel.json build/
- uses: ./.github/actions/smart-vercel
- uses: darwinia-network/devops/actions/smart-vercel@main
name: Deploy to Vercel
id: smart-vercel
with:
vercel_token: ${{ secrets.VERCEL_TOKEN }}
vercel_group: itering
Expand Down

0 comments on commit fde67fa

Please sign in to comment.