Skip to content

trigger-tutorial-sync #276

trigger-tutorial-sync

trigger-tutorial-sync #276

Workflow file for this run

name: Generate page
on:
workflow_dispatch:
repository_dispatch:
types:
- trigger-tutorial-sync
- trigger-document-sync
pull_request:
push:
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: '0'
- name: Install all
run: |
make install
- name: Build page
if: github.event_name == 'pull_request'
run: |
mkdocs build -v
- name: Deploy page
if: |
github.event_name == 'repository_dispatch' ||
github.event_name == 'push' ||
github.event_name == 'workflow_dispatch'
run: |
mkdocs gh-deploy -m "{sha}" --force