Skip to content

Commit

Permalink
fix(test ci): remove external dependency to deploy
Browse files Browse the repository at this point in the history
deploy using firebase-tools
  • Loading branch information
ctrlc03 authored and baumstern committed Mar 24, 2023
1 parent 411bd3b commit 1745688
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions .github/workflows/deploy_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,17 @@ jobs:
NODE_OPTIONS: "--max_old_space_size=4096"

# Deploying the functions to firebase
- name: Deploy to Firebase
uses: w9jds/firebase-action@master
with:
args: deploy --only functions --project prod
env:
FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }}
PROJECT_PATH: packages/backend/
# - name: Deploy to Firebase
# uses: w9jds/firebase-action@master
# with:
# args: deploy --only functions --project prod
# env:
# FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }}
# PROJECT_PATH: packages/backend/

- name: deploy to firebase
run: yarn firebase:deploy-functions
working-directory: ./packages/backend/

- name: run test (unit & e2e)
run: yarn test:ci-prod
Expand Down

0 comments on commit 1745688

Please sign in to comment.