Commit 7600426021
Unsigned
Layout: unified · split
.github/workflows/deploy.yml +3 −1
| @@ -1,7 +1,8 @@ | |||
| 1 | name: 🚀 Deploy API | 1 | name: 🚀 Deploy API |
| 2 | 2 | ||
| 3 | on: | 3 | on: |
| 4 | push: | 4 | pull_request: |
| 5 | types: [closed] | ||
| 5 | branches: [main] | 6 | branches: [main] |
| 6 | paths: | 7 | paths: |
| 7 | - 'api/**' | 8 | - 'api/**' |
| @@ -19,6 +20,7 @@ concurrency: | |||
| 19 | jobs: | 20 | jobs: |
| 20 | checks: | 21 | checks: |
| 21 | name: 🧪 Checks | 22 | name: 🧪 Checks |
| 23 | if: github.event_name == 'workflow_dispatch' || github.event.pull_request.merged == true | ||
| 22 | runs-on: ubuntu-latest | 24 | runs-on: ubuntu-latest |
| 23 | defaults: | 25 | defaults: |
| 24 | run: | 26 | run: |