Skip to content

Update history API

Update history API #3

name: Deploy default service to Google Cloud Run
on:
push:
paths:
- default-service/**
jobs:
deployment:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Setup Node.js and yarn
uses: actions/setup-node@v2
with:
node-version: 20
- name: Install dependencies
run: npm ci
working-directory: ./default-service
- name: Google Cloud Auth
uses: google-github-actions/auth@v2
with:
credentials_json: ${{ secrets.GCP_SA_KEY }}
project_id: ${{ secrets.GCP_PROJECT_ID }}
- name: Set up Cloud SDK
uses: "google-github-actions/setup-gcloud@v2"
- name: Deploy to Google Cloud Run
run: |
cd default-service
gcloud run deploy vizia-web --source . --region asia-southeast2 --quiet