diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index f79de4c9..52e29c53 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -61,7 +61,10 @@ jobs: cd functions npm install + - name: Authenticate to Firebase + uses: google-github-actions/auth@v1 + with: + credentials_json: ${{ secrets.PROD_GOOGLE_APPLICATION_CREDENTIALS }} + - name: Deploy to Firebase - env: - FIREBASE_TOKEN: ${{ secrets.PROD_FIREBASE_DEPLOY_TOKEN }} - run: firebase deploy --token $FIREBASE_TOKEN --project ${{ secrets.PROD_FIREBASE_PROJECT_ID }} + run: firebase deploy --force --project ${{ secrets.PROD_FIREBASE_PROJECT_ID }}