Merge pull request #59 from WardPearce/dependabot/pip/keyring-25.2.1 #41
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: Production workflow | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
base-production: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '3.11' | |
- name: Install Poetry | |
run: curl -sSL https://install.python-poetry.org | python3 - | |
- name: Install dependencies | |
run: | | |
poetry install | |
- name: Pack to pypi | |
env: | |
PYPI_USER: ${{ secrets.PYPI_USER }} | |
PYPI_PASS: ${{ secrets.PYPI_PASS }} | |
run: | | |
poetry build | |
poetry publish --username $PYPI_USER --password $PYPI_PASS |