diff --git a/.github/workflows/planemo.yml b/.github/workflows/planemo.yml index 1ff3502..9a25d55 100644 --- a/.github/workflows/planemo.yml +++ b/.github/workflows/planemo.yml @@ -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: @@ -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 . \ No newline at end of file + run: planemo shed_update --shed_target toolshed --shed_key_from_env ${{ secrets.SHED_KEY }} --force_repository_creation .