Skip to content

Merge pull request #8 from KjellBerlin/Increase-font-size #4

Merge pull request #8 from KjellBerlin/Increase-font-size

Merge pull request #8 from KjellBerlin/Increase-font-size #4

Workflow file for this run

name: Deploy Prod
on:
push:
branches:
- main
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '18'
- name: Install dependencies
run: npm install
- name: Build React app
run: npm run build
- name: Authenticate with Google Cloud
uses: google-github-actions/auth@v1
with:
credentials_json: '${{ secrets.GCP_SERVICE_ACCOUNT_KEY }}'
- name: Set up Google Cloud SDK
uses: google-github-actions/setup-gcloud@v1
with:
project_id: ${{ secrets.GCP_PROJECT_ID }}
- name: Deploy to App Engine
run: |
gcloud app deploy --quiet