From e35a7dbea30170d203266aaa995b7c8379256a4b Mon Sep 17 00:00:00 2001 From: Nate Coraor Date: Wed, 9 Nov 2022 18:51:29 -0500 Subject: [PATCH] Run deploy on push so it has permisisons --- .github/workflows/deploy.yaml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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: