From e25dbdbd5bbe3868874fe6dea0caea21f22460fb Mon Sep 17 00:00:00 2001 From: bepyan Date: Mon, 8 Jul 2024 02:26:13 +0900 Subject: [PATCH] test: vercel@canary --- .github/workflows/deploy-preview.yaml | 9 ++++++--- .github/workflows/deploy-production.yaml | 4 ++-- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/deploy-preview.yaml b/.github/workflows/deploy-preview.yaml index 039bdb1..935fe2b 100644 --- a/.github/workflows/deploy-preview.yaml +++ b/.github/workflows/deploy-preview.yaml @@ -2,14 +2,17 @@ name: Vercel Preview Deployment env: VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }} VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }} -on: pull_request +on: + push: + branches-ignore: + - main jobs: Deploy-Preview: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Install Vercel CLI - run: npm install --global vercel@latest + run: npm install --global vercel@canary - name: Pull Vercel Environment Information run: vercel pull --yes --environment=preview --token=${{ secrets.VERCEL_TOKEN }} - name: Build Project Artifacts diff --git a/.github/workflows/deploy-production.yaml b/.github/workflows/deploy-production.yaml index 727b98b..b8a8589 100644 --- a/.github/workflows/deploy-production.yaml +++ b/.github/workflows/deploy-production.yaml @@ -10,9 +10,9 @@ jobs: Deploy-Production: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Install Vercel CLI - run: npm install --global vercel@latest + run: npm install --global vercel@canary - name: Pull Vercel Environment Information run: vercel pull --yes --environment=production --token=${{ secrets.VERCEL_TOKEN }} - name: Build Project Artifacts