diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index bd6b548..cdd539a 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -1,15 +1,14 @@ name: Deploy on: - pull_request: - types: - - closed + push: + branches: + - main paths: - 'group_vars/**' - 'templates/lambda_function.py.j2' jobs: deploy: - if: github.event.pull_request.merged == true && github.ref == 'main' && github.repository_owner == 'galaxyproject' name: Deploy rewrite function runs-on: ubuntu-latest steps: