Skip to content

Commit

Permalink
test: testing fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Bensigo committed Sep 26, 2023
1 parent dee1928 commit 89525d7
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,17 @@ 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 }}
- name: Build Project Artifacts
run: vercel build --token=${{ secrets.VERCEL_TOKEN }}
- name: Deploy Project Artifacts to Vercel
env:
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_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 deploy --prebuilt --token=${{ secrets.VERCEL_TOKEN }}

0 comments on commit 89525d7

Please sign in to comment.