diff --git a/.github/workflows/test_and_deploy.yml b/.github/workflows/test_and_deploy.yml index 2d4443f..8f5b961 100644 --- a/.github/workflows/test_and_deploy.yml +++ b/.github/workflows/test_and_deploy.yml @@ -58,10 +58,8 @@ jobs: needs: [check_style, build_docs] if: | ( - github.event_name != 'pull_request' && ( - github.ref_name == 'main' || - github.event_name == 'workflow_dispatch' - ) + github.event_name != 'pull_request' && + github.ref_name == 'main' ) runs-on: ubuntu-latest permissions: