Skip to content

Commit

Permalink
Update environment variables in yml to use prod
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffplays2005 committed Oct 6, 2024
1 parent f427ecf commit cd10df4
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions .github/workflows/update_google_sheet_members.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,10 @@ on:
- cron: "0 * * * *"

env:
NEXT_PUBLIC_BACKEND_BASE_URL: ${{secrets.VITE_BACKEND_BASE_URL}}
# NEXT_PUBLIC_BACKEND_BASE_URL: ${{secrets.PROD_BACKEND_BASE_URL}}
NEXT_PUBLIC_BACKEND_BASE_URL: ${{secrets.PROD_BACKEND_BASE_URL}}
MEMBERS_GOOGLE_SPREADSHEET_ID: ${{secrets.MEMBERS_GOOGLE_SPREADSHEET_ID}}
MEMBERS_GOOGLE_SHEET_ID: ${{secrets.MEMBERS_GOOGLE_SHEET_ID}}
GOOGLE_SERVICE_ACCOUNT_JSON: ${{secrets.FIREBASE_SERVICE_ACCOUNT_UASC_CEEBC}}
# GOOGLE_SERVICE_ACCOUNT_JSON: ${{secrets.FIREBASE_SERVICE_ACCOUNT_UASC_PROD}}
GOOGLE_SERVICE_ACCOUNT_JSON: ${{secrets.FIREBASE_SERVICE_ACCOUNT_UASC_PROD}}
NEXT_PUBLIC_FIREBASE_API_KEY: ${{secrets.VITE_FIREBASE_API_KEY}}

jobs:
Expand All @@ -29,11 +27,6 @@ jobs:
- name: Install dependencies
run: yarn

- name: Test locally
run: |
screen -d -m yarn dev-server
sleep 5
- name: Update google sheet members with script
run: |
yarn workspace server update-google-sheet-members

0 comments on commit cd10df4

Please sign in to comment.