The instructions to deploy 'hosting' seemed to be super simple, just:
args: ['deploy', '--project=project-id', '--only=hosting']
Now, I wanted to deploy hosting and functions, so I stripped the '--only=hosting' but this failed because:
- the venv was not found (
Error: Failed to find location of Firebase Functions SDK. Did you forget to run '. "/workspace/XXX/functions/venv/bin/activate" && python3.12 -m pip install -r requirements.txt'?
) - environment variables from the cloud build step definition were missing (
Error: In non-interactive mode but have no value for the following environment variables
)