Skip to content

Commit

Permalink
[Workflow] automatic doc deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
fedebotu committed Aug 1, 2024
1 parent f6030f3 commit 80d4265
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/deploy-docs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Deploy MkDocs to GitHub Pages

on:
push:
branches:
- main

permissions:
contents: write

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.12'

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e ".[dev,graph,routing,docs]"
- name: Deploy MkDocs
run: |
mkdocs gh-deploy --force

0 comments on commit 80d4265

Please sign in to comment.