Google Cloud Build specify firebase site id when deploy

Viewed 51

I am facing an issue where i need to deploy a staging site from Google Cloud Build.

I added another site under the same firebase project, meaning now I have 2 site under the same project. enter image description here

This is my cloudbuild.yaml file

    steps :
  - name : node
    entrypoint : npm
    args :
      - ci
  - name : node
    entrypoint : npm
    args :
      - run
      - build
  - name : asia.gcr.io/$_project_id/firebase
    args :
      - deploy
      - --project=xxxxxxxxx
      - --only=hosting

Is there any way that I can specify the site id in cloudbuild.yaml file

0 Answers
Related