Skip to content

Commit

Permalink
Update deploy.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
IAlibay authored Aug 30, 2023
1 parent e2c6f74 commit 9d12b24
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 9d12b24

Please sign in to comment.