Skip to content

feat: ci/cd pipeline #1

feat: ci/cd pipeline

feat: ci/cd pipeline #1

Workflow file for this run

name: CI/CD to Google App Engine
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v3
- name: Set Up Node.js
uses: actions/setup-node@v3
with:
node-version: 18
- name: Install Dependencies
run: npm ci
- name: Build
run: npm run build
- name: Auth
uses: 'google-github-actions/auth@v1'
with:
credentials_json: '${{ secrets.GOOGLE_CREDENTIALS }}'
- name: Deploy
uses: 'google-github-actions/deploy-appengine@v1'
with:
build_dir: ./out