Skip to content

Commit

Permalink
fix(cd): use proper environment name
Browse files Browse the repository at this point in the history
  • Loading branch information
HenrikFricke committed Oct 28, 2024
1 parent 9aa37ca commit 81a01b7
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ jobs:
env:
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_REMIX_PROJECT_ID }}
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }}
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -74,8 +73,8 @@ jobs:
- name: Install deps
uses: bahmutov/npm-install@v1
- name: Pull Vercel Environment Information
run: vercel pull --yes --environment=prod --token=${{ secrets.VERCEL_TOKEN }}
run: npx vercel pull --yes --environment=production --token=${{ secrets.VERCEL_TOKEN }}
- name: Build Project Artifacts
run: vercel build --token=${{ secrets.VERCEL_TOKEN }}
run: npx vercel build --token=${{ secrets.VERCEL_TOKEN }}
- name: Deploy Project Artifacts to Vercel
run: vercel deploy --prebuilt --prod --token=${{ secrets.VERCEL_TOKEN }}
run: npx vercel deploy --prebuilt --prod --token=${{ secrets.VERCEL_TOKEN }}

0 comments on commit 81a01b7

Please sign in to comment.