Skip to content

Commit

Permalink
Merge pull request #4 from sahidrahman404/dev
Browse files Browse the repository at this point in the history
fix: only run GA when on pull request merge
  • Loading branch information
sahidrahman404 authored Apr 18, 2024
2 parents 8af5d1b + de5a5d5 commit eb1f4c6
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/prod-fly.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
name: Prod Gigachad Backend
on:
push:
branches:
- main
pull_request:
types:
- closed

jobs:
deploy:
if: github.event_name == 'pull_request' && github.event.action == 'closed' && github.event.pull_request.merged == true
if: github.event.pull_request.merged == true
name: Deploy app
runs-on: ubuntu-latest
concurrency: deploy-group
Expand Down

0 comments on commit eb1f4c6

Please sign in to comment.