Update the CI/CD configuration to deploy only from the main branch.

This commit is contained in:
2023-06-23 19:08:46 +03:00
parent 60cc44c488
commit b42b1e6d53
+3
View File
@@ -16,3 +16,6 @@ steps:
- $POETRY_HOME/bin/pip install poetry==1.3.2 - $POETRY_HOME/bin/pip install poetry==1.3.2
- $POETRY_HOME/bin/poetry install - $POETRY_HOME/bin/poetry install
- $POETRY_HOME/bin/poetry publish --build --username $PYPI_USERNAME --password $PYPI_PASSWORD - $POETRY_HOME/bin/poetry publish --build --username $PYPI_USERNAME --password $PYPI_PASSWORD
when:
branch:
- main