Skip to content

Merge pull request #266 from CenterForTheBuiltEnvironment/development #154

Merge pull request #266 from CenterForTheBuiltEnvironment/development

Merge pull request #266 from CenterForTheBuiltEnvironment/development #154

Workflow file for this run

# .github/workflows/deploy.yml
name: Deploy 🚀 Clima to Google Cloud Run (☁🏃)
on:
push:
branches:
- main
jobs:
deploy:
name: Deploying 🚀 Clima
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- id: auth
uses: google-github-actions/auth@v2
with:
credentials_json: ${{ secrets.GCP_SA_KEY_JSON }}
- name: Set up Cloud SDK
uses: google-github-actions/setup-gcloud@v1
with:
project_id: heat-stress-scale
- name: Building (🏗️) and Deploying (🚀)
run: |
gcloud builds submit \
--project=clima-316917 \
--substitutions=_REPO_NAME="clima",_PROJ_NAME="clima-316917",_IMG_NAME="main",_GCR="us.gcr.io",_REGION="us-central1",_MEMORY="4Gi",_CPU="2"