Create readme.md #9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish docs via GitHub | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
name: Deploy docs | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: 3.9 | |
- name: run requirements file | |
run: pip install -r requirements.txt | |
- name: Deploy docs | |
run: mkdocs gh-deploy --force | |
env: | |
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} |