Use pattern instead of name #85
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 development docs | |
on: | |
push: | |
branches: | |
- master | |
permissions: | |
contents: write | |
jobs: | |
docs: | |
name: Development docs release | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Setup python 3.10 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.10" | |
- name: Install poetry | |
uses: Gr1N/setup-poetry@v8 | |
- name: Install dependencies | |
run: | | |
pip install -U pip | |
poetry install | |
- name: Build and deploy | |
run: | | |
git config --global user.name "Jonxslays" | |
git config --global user.email "[email protected]" | |
git fetch origin gh-pages --depth=1 | |
poetry run mike deploy --push --update-aliases dev |