fix an edition mismatch #107
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 | |
# Controls when the action will run. | |
on: | |
# Remark: uncomment one section only | |
# Remark: Next 1 line requires manual action, Click on action tab, then publish | |
# workflow_dispatch | |
# Remark: Next 3 lines triggers the workflow on push events for the main branch | |
push: | |
branches: | |
- main | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: 3.x | |
- run: pip install -r requirements.txt | |
- run: mkdocs build | |
- uses: JamesIves/github-pages-deploy-action@v4 | |
with: | |
branch: gh-pages | |
folder: site |