Merge pull request #50 from WardPearce/dependabot/pip/selenium-4.19.0 #38
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 |