Skip to content

update demo and examples #32

update demo and examples

update demo and examples #32

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:
runs-on: ubuntu-latest
environment:
name: demo
url: https://statycc.github.io/pymwp/demo
steps:
- uses: actions/checkout@v3
- name: Get Hash
id: hash
run: echo "hash=$(git rev-parse --short "$GITHUB_SHA")" >> $GITHUB_ENV
- name: Deploy to App Engine
uses: google-github-actions/deploy-appengine@v0.4.0
with:
deliverables: app.yaml
project_id: ${{ secrets.GCP_PROJECT }}
credentials: ${{ secrets.GCP_SA_KEY }}
promote: true
version: ${{ env.hash }}