Skip to content

Commit

Permalink
fix:testing fix for env vars
Browse files Browse the repository at this point in the history
  • Loading branch information
Bensigo committed Sep 26, 2023
1 parent 7f49494 commit dee1928
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,10 @@ jobs:
- uses: actions/checkout@v2
- name: Install Vercel CLI
run: npm install --global vercel@latest
- name: Add envs vars to cloud
run: vercel add env VERCEL_ORG_ID=${{ secrets.VERCEL_ORG_ID }} VERCEL_PROJECT_ID=${{ secrets.VERCEL_PROJECT_ID }} GOOGLE_ID=${{ secrets.GOOGLE_ID }} GOOGLE_SECRET=${{ secrets.GOOGLE_SECRET }} DATABASE_URL=${{ secrets.DATABASE_URL_DEV }} NEXTAUTH_SECRET=${{ secrets.NEXTAUTH_SECRET_DEV }} NEXTAUTH_URL=${{ secrets.NEXTAUTH_URL_DEV }} OPEN_AI=${{ secrets.OPEN_AI }}
- name: Pull Vercel Environment Information
run: vercel pull --yes --environment=preview --token=${{ secrets.VERCEL_TOKEN }} VERCEL_ORG_ID=${{ secrets.VERCEL_ORG_ID }} VERCEL_PROJECT_ID=${{ secrets.VERCEL_PROJECT_ID }} GOOGLE_ID=${{ secrets.GOOGLE_ID }} GOOGLE_SECRET=${{ secrets.GOOGLE_SECRET }} DATABASE_URL=${{ secrets.DATABASE_URL_DEV }} NEXTAUTH_SECRET=${{ secrets.NEXTAUTH_SECRET_DEV }} NEXTAUTH_URL=${{ secrets.NEXTAUTH_URL_DEV }} OPEN_AI=${{ secrets.OPEN_AI }}
run: vercel pull --yes --environment=preview --token=${{ secrets.VERCEL_TOKEN }}
- name: Build Project Artifacts
run: vercel build --token=${{ secrets.VERCEL_TOKEN }}
- name: Deploy Project Artifacts to Vercel
Expand Down

0 comments on commit dee1928

Please sign in to comment.