diff --git a/.github/workflows/deploy-preview.yml b/.github/workflows/deploy-preview.yml index 8a11c59..6c70856 100644 --- a/.github/workflows/deploy-preview.yml +++ b/.github/workflows/deploy-preview.yml @@ -43,6 +43,9 @@ jobs: - name: Install Vercel CLI run: npm install --global vercel@latest + - name: Link to Vercel project + run: vercel link --project tooling --yes --token=${{ secrets.VERCEL_TOKEN }} + - name: Pull Vercel Environment Information run: vercel pull --yes --environment=preview --token=${{ secrets.VERCEL_TOKEN }} diff --git a/.github/workflows/deploy-production.yml b/.github/workflows/deploy-production.yml index 9e95bb4..a20f65e 100644 --- a/.github/workflows/deploy-production.yml +++ b/.github/workflows/deploy-production.yml @@ -40,6 +40,9 @@ jobs: - name: Install Vercel CLI run: npm install --global vercel@latest + - name: Link to Vercel project + run: vercel link --project tooling --yes --token=${{ secrets.VERCEL_TOKEN }} + - name: Pull Vercel Environment Information run: vercel pull --yes --environment=production --token=${{ secrets.VERCEL_TOKEN }} @@ -47,7 +50,7 @@ jobs: run: vercel build --prod --token=${{ secrets.VERCEL_TOKEN }} - name: Deploy Project Artifacts to Vercel - run: vercel deploy --name highlander-robotics-projects/tooling --prebuilt --prod --token=${{ secrets.VERCEL_TOKEN }} + run: vercel deploy --prebuilt --prod --token=${{ secrets.VERCEL_TOKEN }} - name: Delete Neon Branch uses: neondatabase/delete-branch-action@v2