From b25d50e83b97538fc69e23b6296cb9c293fddd7d Mon Sep 17 00:00:00 2001 From: fewensa <37804932+fewensa@users.noreply.github.com> Date: Tue, 16 Jul 2024 21:59:55 +0800 Subject: [PATCH] Simplify vercel action --- .github/workflows/deploy-dev.yml | 7 +------ .github/workflows/deploy-prd.yml | 7 +------ .github/workflows/deploy-stg.yml | 7 +------ 3 files changed, 3 insertions(+), 18 deletions(-) diff --git a/.github/workflows/deploy-dev.yml b/.github/workflows/deploy-dev.yml index 771d5b3..e96b599 100644 --- a/.github/workflows/deploy-dev.yml +++ b/.github/workflows/deploy-dev.yml @@ -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 }} diff --git a/.github/workflows/deploy-prd.yml b/.github/workflows/deploy-prd.yml index 5015aa8..b8864c2 100644 --- a/.github/workflows/deploy-prd.yml +++ b/.github/workflows/deploy-prd.yml @@ -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 }} diff --git a/.github/workflows/deploy-stg.yml b/.github/workflows/deploy-stg.yml index 3459463..a7e5bdc 100644 --- a/.github/workflows/deploy-stg.yml +++ b/.github/workflows/deploy-stg.yml @@ -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 }}