diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7c35cec..a78dcfe 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -24,27 +24,3 @@ jobs: - name: Run tests run: | poetry run pytest - - release: - needs: tests - if: github.event_name == 'push' && github.ref == 'refs/heads/master' && !contains(github.event.head_commit.message, 'generated by python-semantic-release') - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: Setup Python - uses: actions/setup-python@v2 - with: - python-version: 3.7 - - name: Install Python packages - run: pip install poetry python-semantic-release - - name: Release - run: | - git config --global user.name "Dmitry Vasilyanov" - git config --global user.email "vdmit11@gmail.com" - semantic-release publish -D commit_author="Dmitry Vasilyanov " - env: - GH_TOKEN: ${{secrets.GITHUB_TOKEN}} - PYPI_TOKEN: ${{secrets.PYPI_TOKEN}} -