Skip to content

Deploy Docs

Deploy Docs #2

Workflow file for this run

name: Deploy Docs
on:
push:
tags:
- '*'
branches:
- 'master'
paths:
- 'docs/**'
- 'mkdocs.yml'
workflow_dispatch:
inputs: {}
permissions:
contents: write
jobs:
build:
name: Publish
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- name: Setup Python
uses: actions/setup-python@v6
with:
python-version: '3.11.12'
- name: Setup Project
run: |
python -m pip install --upgrade --no-cache-dir pip setuptools mkdocs
python -m pip install --exists-action=w --no-cache-dir -r requirements.txt
- name: Deploy Ryu docs
run: python -m mkdocs gh-deploy --clean --config-file mkdocs.yml