Skip to content

Commit

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

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

- uses: ./.github/actions/smart-vercel
- uses: darwinia-network/devops/actions/smart-vercel@main
name: Deploy to Vercel
with:
vercel_token: ${{ secrets.VERCEL_TOKEN }}
Expand Down
7 changes: 1 addition & 6 deletions .github/workflows/deploy-prd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,7 @@ jobs:
steps:
- uses: actions/checkout@v2

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

- uses: ./.github/actions/smart-vercel
- uses: darwinia-network/devops/actions/smart-vercel@main
name: Deploy to Vercel
with:
vercel_token: ${{ secrets.VERCEL_TOKEN }}
Expand Down
7 changes: 1 addition & 6 deletions .github/workflows/deploy-stg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,7 @@ jobs:
steps:
- uses: actions/checkout@v2

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

- uses: ./.github/actions/smart-vercel
- uses: darwinia-network/devops/actions/smart-vercel@main
name: Deploy to Vercel
with:
vercel_token: ${{ secrets.VERCEL_TOKEN }}
Expand Down

0 comments on commit b25d50e

Please sign in to comment.