Skip to content

docs: build new sphinx--docs(merge) #16

docs: build new sphinx--docs(merge)

docs: build new sphinx--docs(merge) #16

name: Upload python package
on:
push:
branches:
- publish
pull_request:
branches:
- publish
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.10'
- name: Install dependencies
run: |
pip install poetry
- name: Config poetry
run: |
poetry config pypi-token.pypi ${{ secrets.PYPI_API_TOKEN }}
- name: Build and publish
run: |
poetry publish --build