Skip to content

Commit

Permalink
chore(cicd): Update deployment pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasfarias committed May 4, 2022
1 parent 3cf54dc commit a6e0fe4
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/pypi_deploy.yaml
Expand Up @@ -8,15 +8,22 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Set up Python 3.9
uses: actions/setup-python@v2
with:
python-version: 3.9

- name: Install Poetry
uses: abatilo/actions-poetry@v2.1.3
uses: abatilo/actions-poetry@v2.1.4
with:
poetry-version: 1.2.0b1

- name: Install airflow-dbt-python with Poetry
run: poetry install

- name: Build airflow-dbt-python with Poetry
run: poetry build

- name: Publish airflow-dbt-python to PyPI with Poetry
run: poetry publish --username __token__ --password ${{ secrets.PYPI_API_TOKEN }}

0 comments on commit a6e0fe4

Please sign in to comment.