Skip to content

build(deps-dev): bump vite in /game-of-life/with-vite (#415) #60

build(deps-dev): bump vite in /game-of-life/with-vite (#415)

build(deps-dev): bump vite in /game-of-life/with-vite (#415) #60

Workflow file for this run

name: Deploy Conway's Game of Life (Vite)
on:
push:
branches: [main]
paths: ["game-of-life/with-vite/**"]
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: "read"
id-token: "write"
env:
PROJECT_ID: ${{ secrets.PROJECT_ID }}
jobs:
deploy:
name: Deploy
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./game-of-life/with-vite
steps:
- name: Checkout sources
uses: actions/checkout@v4
# Authenticate to Google Cloud
- name: Google Auth
id: auth
uses: "google-github-actions/auth@v2"
with:
token_format: "access_token"
workload_identity_provider: "${{ secrets.WIF_PROVIDER }}"
service_account: "${{ secrets.WIF_SERVICE_ACCOUNT }}"
- name: Set up Cloud SDK
uses: google-github-actions/setup-gcloud@v2
with:
project_id: "${{ env.PROJECT_ID }}"
- name: Deploy to Cloud Build
run: gcloud builds submit --substitutions=_PROJECT_ID="${{ env.PROJECT_ID }}"