Merge pull request #210 from iolanta-tech/dependabot/pip/types-reques… #123
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
# https://blog.elmah.io/deploying-a-mkdocs-documentation-site-with-github-actions/ | |
on: | |
push: | |
branches: [master] | |
jobs: | |
build: | |
name: Deploy to GitHub pages | |
runs-on: ubuntu-latest | |
environment: CI | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: 3.11 | |
- run: pip install -q poetry | |
- run: poetry config virtualenvs.create false --local | |
- run: poetry install | |
- uses: actions/checkout@v3 | |
with: | |
repository: iolanta-tech/mkdocs-material-insiders | |
path: mkdocs-material-insiders | |
token: ${{ secrets.INSIDERS_TOKEN }} | |
- run: j install-mkdocs-insiders | |
- run: j deploy-to-github-pages |