Skip to content

Merge pull request #32 from noclocks/develop #10

Merge pull request #32 from noclocks/develop

Merge pull request #32 from noclocks/develop #10

Workflow file for this run

name: Deploy to Google Cloud Run
on:
push:
branches:
- main
env:
PROJECT_ID: ${{ secrets.GCP_PROJECT_ID }}
jobs:
build-deploy:
name: Build and Deploy
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Authenticate with Google Cloud
uses: google-github-actions/auth@v2
with:
credentials_json: '${{ secrets.GCP_CREDENTIALS }}'
- name: Set up Cloud SDK
uses: google-github-actions/setup-gcloud@v2
- name: Deploy to Cloud Run
run: |
gcloud run deploy bastienlaw-website \
--region us-east1 \
--source ./app/ \
--allow-unauthenticated