Skip to content

Commit

Permalink
testing 5
Browse files Browse the repository at this point in the history
  • Loading branch information
Bensigo committed Sep 26, 2023
1 parent ff31d98 commit d37836a
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,15 @@ jobs:
run: npm install --global vercel@latest
- name: ls existing variables
run: vercel env ls preview --token=${{ secrets.VERCEL_TOKEN }}
- name: Add env variable to cloud
run: vercel env add GOOGLE_ID=${{ secrets.GOOGLE_ID }} --yes --environment=preview --token=${{ secrets.VERCEL_TOKEN }}
# vercel env add GOOGLE_SECRET=${{ secrets.GOOGLE_SECRET }} --yes --environment=preview --token=${{ secrets.VERCEL_TOKEN }}
# vercel env add DATABASE_URL=${{ secrets.DATABASE_URL_DEV }} --yes --environment=preview --token=${{ secrets.VERCEL_TOKEN }}
# vercel env add NEXTAUTH_SECRET=${{ secrets.NEXTAUTH_SECRET_DEV }} --yes --environment=preview --token=${{ secrets.VERCEL_TOKEN }}
# vercel env add NEXTAUTH_URL=${{ secrets.NEXTAUTH_URL_DEV }} --yes --environment=preview --token=${{ secrets.VERCEL_TOKEN }}
# vercel env add OPEN_AI=${{ secrets.OPEN_AI }} --yes --environment=preview --token=${{ secrets.VERCEL_TOKEN }}
- name: Pull Vercel Environment Information
run: vercel pull --yes --environment=preview --token=${{ secrets.VERCEL_TOKEN }}
- name: Add env variable to cloud
run: |
vercel env add GOOGLE_ID=${{ secrets.GOOGLE_ID }} --yes --environment=preview --token=${{ secrets.VERCEL_TOKEN }}
vercel env add GOOGLE_SECRET=${{ secrets.GOOGLE_SECRET }} --yes --environment=preview --token=${{ secrets.VERCEL_TOKEN }}
vercel env add DATABASE_URL=${{ secrets.DATABASE_URL_DEV }} --yes --environment=preview --token=${{ secrets.VERCEL_TOKEN }}
vercel env add NEXTAUTH_SECRET=${{ secrets.NEXTAUTH_SECRET_DEV }} --yes --environment=preview --token=${{ secrets.VERCEL_TOKEN }}
vercel env add NEXTAUTH_URL=${{ secrets.NEXTAUTH_URL_DEV }} --yes --environment=preview --token=${{ secrets.VERCEL_TOKEN }}
vercel env add OPEN_AI=${{ secrets.OPEN_AI }} --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 d37836a

Please sign in to comment.