Skip to content

Merge pull request #12 from lGnyte/accommodations #46

Merge pull request #12 from lGnyte/accommodations

Merge pull request #12 from lGnyte/accommodations #46

Workflow file for this run

name: Deploy to Goggle App Engine (GAE)
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build-and-deploy:
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: yarn install --frozen-lockfile
- name: Build Next.js Project
run: yarn build
- 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 App Engine
run: |
gcloud app deploy app.yaml --quiet