Skip to content

Use production environment #12

Use production environment

Use production environment #12

Workflow file for this run

# This file was auto-generated by the Firebase CLI
# https://github.com/firebase/firebase-tools
name: Deploy to Firebase Hosting on merge
on:
push:
branches:
- main
- production
permissions:
checks: write
contents: read
pull-requests: write
jobs:
build_and_test:
environment: production
uses: ./.github/workflows/build-all.yml

Check failure on line 19 in .github/workflows/deploy.yml

View workflow run for this annotation

GitHub Actions / Deploy to Firebase Hosting on merge

Invalid workflow file

The workflow is not valid. .github/workflows/deploy.yml (Line: 19, Col: 5): Unexpected value 'uses' .github/workflows/deploy.yml (Line: 20, Col: 5): Unexpected value 'with'
with:
deploy-functions: ${{ (github.head_ref || github.ref_name) == 'production' && 'sps-by-the-numbers' || '' }}