Skip to content

move to main

move to main #43

Workflow file for this run

name: Deploy demo
# Means demo server is deployed automatically on direct pushes to this branch
on:
push:
branches: [ demo ]
jobs:
deploy-server:
permissions:
contents: 'read'
id-token: 'write'
runs-on: ubuntu-latest
environment:
name: demo
url: https://statycc.github.io/pymwp/demo
steps:
- uses: actions/checkout@v4
- name: Get Hash
run: echo "hash=$(git rev-parse --short "$GITHUB_SHA")" >> $GITHUB_ENV
- name: Authenticate
id: 'auth'
uses: 'google-github-actions/auth@v2'
with:
credentials_json: ${{ secrets.GCP_SA_KEY }}
- name: Deploy to App Engine
id: 'deploy'
uses: 'google-github-actions/deploy-appengine@v2'
with:
project_id: ${{ secrets.GCP_PROJECT }}
version: ${{ env.hash }}
deliverables: app.yaml