Skip to content

Test github pages

Test github pages #17

Workflow file for this run

name: Deploy to Google App Engine
on:
push:
branches:
- master
- pages
jobs:
deploy:
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
permissions:
contents: 'read'
pages: 'write'
id-token: 'write'
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20.10.0
- run: npm install
- run: npm run build
- uses: actions/configure-pages@v4
- uses: actions/upload-pages-artifact@v3
with:
path: './prod/public'
- uses: actions/deploy-pages@v4
- uses: google-github-actions/auth@v2
with:
project_id: 'sinuous-crow-410507'
credentials_json: ${{ secrets.GCLOUD_ACCOUNT_KEY }}
- uses: google-github-actions/deploy-appengine@v2
with:
working_directory: prod
deliverables: app.yaml