Skip to content

Commit

Permalink
Run deploy on push so it has permisisons
Browse files Browse the repository at this point in the history
  • Loading branch information
natefoo committed Nov 9, 2022
1 parent 7f29aff commit e35a7db
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down

0 comments on commit e35a7db

Please sign in to comment.