Skip to content

Commit

Permalink
Update frontend-deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
big213 committed Nov 25, 2023
1 parent 1433e23 commit e29bd55
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/frontend-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,7 @@ jobs:
SOCIAL_LOGIN_ENABLED:
TEMP_STORAGE_PATH: temp
STRIPE_PUB_KEY:
- name: Deploy to Firebase
uses: w9jds/firebase-action@master
with:
args: deploy --only hosting
env:
FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }}
PROJECT_PATH: ./frontend
- name: Create SA key
run: echo '${{ secrets.FIREBASE_SERVICE_ACCOUNT }}' > $HOME/gcloud.json
- name: Deploy Hosting
run: export GOOGLE_APPLICATION_CREDENTIALS=$HOME/gcloud.json && cd frontend && npx firebase-tools deploy --only hosting --json
2 changes: 1 addition & 1 deletion backend/functions/src/config/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { defineInt, defineString, projectID } from "firebase-functions/params";
import { defineInt, defineString } from "firebase-functions/params";

// in dev mode, SQL errors are not masked, and SQL queries/errors are logged
export const isDev = !!(process.env.FUNCTIONS_EMULATOR ?? process.env.DEV);
Expand Down

0 comments on commit e29bd55

Please sign in to comment.