Skip to content

Merge pull request #3 from Firgrep/main #6

Merge pull request #3 from Firgrep/main

Merge pull request #3 from Firgrep/main #6

Workflow file for this run

name: CI/CD to Google App Engine
on:
push:
branches:
- main
jobs:
deploy:
runs-on: windows-latest
steps:
- name: Checkout Code
uses: actions/checkout@v3
- name: Set Up Node.js
uses: actions/setup-node@v3
with:
node-version: 18
- name: 'Create env file'
run: |
echo "${{ secrets.ENV_STAGING }}" > .env
- 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:
working_directory: ./out