Skip to content

Commit

Permalink
first step to publish docs automatically
Browse files Browse the repository at this point in the history
  • Loading branch information
rodja committed Apr 27, 2024
1 parent 83785a4 commit b2dd870
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Upload Python Package

on: push

# on:
# workflow_dispatch:
# push:
# tags:
# - v**

jobs:
docs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: "3.11"
- name: Install dependencies
run: |
python3 -m pip install -r mkdocs_requirements.txt
python3 -m pip install -e .
- name: Build docs
run: mkdocs build -v
- name: Deploy gh-pages
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: site

0 comments on commit b2dd870

Please sign in to comment.