Skip to content

Commit

Permalink
Update tool_shed if push on main
Browse files Browse the repository at this point in the history
  • Loading branch information
ppouchin committed Apr 9, 2024
1 parent 1820de2 commit 4e9a85e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/planemo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
run: planemo test

deploy:
if: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags/') }}
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
needs: [ test ]
runs-on: ubuntu-latest
strategy:
Expand All @@ -88,4 +88,4 @@ jobs:
- name: Check dependencies
run: planemo --version
- name: Deploy
run: planemo shed_update --shed_target toolshed --shed_key_from_env ${{ secrets.SHED_KEY }} --force_repository_creation .
run: planemo shed_update --shed_target toolshed --shed_key_from_env ${{ secrets.SHED_KEY }} --force_repository_creation .

0 comments on commit 4e9a85e

Please sign in to comment.