Skip to content

Commit

Permalink
ADD: GitHub Actions for documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
tcztzy committed Feb 19, 2024
1 parent 8f761a9 commit c53120d
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: documentation

on: [push, pull_request, workflow_dispatch]

permissions:
contents: write

jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
- name: Install dependencies
run: |
pip install sphinx myst_parser
- name: Sphinx build
run: |
sphinx-build docs _build
- name: Deploy to GitHub Pages
uses: actions/upload-pages-artifact@v3
with:
path: _build

0 comments on commit c53120d

Please sign in to comment.