diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 6a2060d..445b9aa 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -48,7 +48,7 @@ jobs: - name: upload artifacts if: | - (github.event_name == 'push' && startsWith(github.ref, 'refs/tags/package')) || + (github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')) || (github.event_name == 'release' && github.event.action == 'published') uses: actions/upload-artifact@v2 with: @@ -70,7 +70,7 @@ jobs: - name: upload artifacts if: | - (github.event_name == 'push' && startsWith(github.ref, 'refs/tags/package')) || + (github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')) || (github.event_name == 'release' && github.event.action == 'published') uses: actions/upload-artifact@v2 with: @@ -80,7 +80,7 @@ jobs: upload_testpypi: if: | github.repository == 'MDAnalysis/mdaencore' && - (github.event_name == 'push' && startsWith(github.ref, 'refs/tags/package')) + (github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')) name: testpypi upload environment: deploy runs-on: ubuntu-latest @@ -122,7 +122,7 @@ jobs: check_testpypi: if: | github.repository == 'MDAnalysis/mdaencore' && - (github.event_name == 'push' && startsWith(github.ref, 'refs/tags/package')) + (github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')) name: testpypi check runs-on: ${{ matrix.os }} timeout-minutes: 60