Skip to content

Merge pull request #12 from baluyotraf/fix/query-type-check #7

Merge pull request #12 from baluyotraf/fix/query-type-check

Merge pull request #12 from baluyotraf/fix/query-type-check #7

Workflow file for this run

name: release
on:
push:
tags:
- v*
jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v2
with:
python-version: "3.9"
- uses: abatilo/actions-poetry@v2
- run: git fetch origin gh-pages --depth=1
- run: poetry install --with docs
- run: |
GIT_COMMITTER_NAME=actions \
GIT_COMMITTER_EMAIL=actions@github.com \
poetry run mike deploy ${{ github.ref_name }} stable -u -p
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python_version }}
- uses: abatilo/actions-poetry@v2
- run: poetry build
- run: poetry publish --dry-run
- env:
POETRY_PYPI_TOKEN_PYPI: ${{ secrets.PYPITOKEN }}
run: poetry publish