From c059145261ec3e5efb0eb26a308bafc6a0ed18ef Mon Sep 17 00:00:00 2001 From: 0xMillz <37815163+0xMillz@users.noreply.github.com> Date: Thu, 7 Nov 2024 10:36:31 -0600 Subject: [PATCH] Update prod workflow --- .github/workflows/production.yaml | 23 ++++++----------------- 1 file changed, 6 insertions(+), 17 deletions(-) diff --git a/.github/workflows/production.yaml b/.github/workflows/production.yaml index a544e01d..6802121b 100644 --- a/.github/workflows/production.yaml +++ b/.github/workflows/production.yaml @@ -1,12 +1,12 @@ # This workflow runs the CI command defined in package.json name: CI - +env: + VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }} + VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }} on: -# pull_request: -# types: [opened, reopened, synchronize, ready_for_review] push: - branches: [main] - + branches: + - main jobs: ci: name: CI @@ -81,18 +81,7 @@ jobs: run: pkill -2 anvil # TODO @0xMillz for production: (https://vercel.com/guides/how-can-i-use-github-actions-with-vercel) -#name: Vercel Production Deployment -#env: -# VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }} -# VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }} -#on: -# push: -# branches: -# - main -#jobs: -# Deploy-Production: -# runs-on: ubuntu-latest -# steps: + # - uses: actions/checkout@v2 # - name: Install Vercel CLI # run: npm install --global vercel@latest