Skip to content

Merge pull request #54 from CS3219-AY2425S1/fix/production-endpoints #21

Merge pull request #54 from CS3219-AY2425S1/fix/production-endpoints

Merge pull request #54 from CS3219-AY2425S1/fix/production-endpoints #21

Workflow file for this run

name: Deploy to GCP
on:
push:
branches:
- main
jobs:
deploy:
permissions:
contents: "read"
id-token: "write"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- id: "auth"
name: "Authenticate to Google Cloud"
uses: "google-github-actions/auth@v2"
with:
credentials_json: "${{ secrets.GCP_SA_KEY }}"
- name: "Set up Cloud SDK"
uses: "google-github-actions/setup-gcloud@v2"
- name: "Use gcloud CLI"
run: "gcloud info"
- name: "Trigger Cloud Build"
run: "gcloud builds submit --config cloudbuild.yaml"