diff --git a/.github/workflows/pypi_upload.yml b/.github/workflows/pypi_upload.yml index f195d3b1b5..00544ec54c 100644 --- a/.github/workflows/pypi_upload.yml +++ b/.github/workflows/pypi_upload.yml @@ -17,10 +17,6 @@ jobs: - name: Checkout code uses: actions/checkout@v2 - - uses: webfactory/ssh-agent@v0.1.1 - with: - ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }} - - name: Create Release id: create_release uses: actions/create-release@v1 @@ -33,7 +29,7 @@ jobs: prerelease: false - name: Set up Python 3.7 - uses: actions/setup-python@v1 + uses: actions/setup-python@v2 with: python-version: 3.7 @@ -65,5 +61,8 @@ jobs: git config --local user.name 'github-actions[bot]' git config --local user.email 'github-actions[bot]@users.noreply.github.com' python -m pipenv run inv release.bump-version --dev --commit - git push git@github.com:${{ github.repository }}.git HEAD:master + - name: Push changes + uses: ad-m/github-push-action@master + with: + github_token: ${{ secrets.GITHUB_TOKEN }}