Skip to content

Move workflow call to a separate job, per docs #7

Move workflow call to a separate job, per docs

Move workflow call to a separate job, per docs #7

Workflow file for this run

name: GitHub Pages
on:
push:
branches:
- master
paths:
- docs/**
- mkdocs.yml
workflow_call:
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: fkirc/skip-duplicate-actions@v5
with:
cancel_others: 'true'
- uses: actions/checkout@v4
with:
fetch-depth: 0 # for the 'Last updated' timestamp
- name: Install requirements
run: pip install -r requirements.txt
- name: Build and deploy site
run: mkdocs gh-deploy --no-history