Commit a2818d21b2
Unsigned
Layout: unified · split
.github/workflows/deploy.yml +3 −3
| @@ -1,8 +1,7 @@ | ||
| 1 | 1 | name: 🚀 Deploy API |
| 2 | 2 | |
| 3 | 3 | on: |
| 4 | pull_request: | |
| 5 | types: [closed] | |
| 4 | push: | |
| 6 | 5 | branches: [main] |
| 7 | 6 | paths: |
| 8 | 7 | - 'api/**' |
| @@ -20,7 +19,7 @@ concurrency: | ||
| 20 | 19 | jobs: |
| 21 | 20 | checks: |
| 22 | 21 | name: 🧪 Checks |
| 23 | if: github.event_name == 'workflow_dispatch' || github.event.pull_request.merged == true | |
| 22 | if: github.repository == 'lissy93/awesome-privacy' | |
| 24 | 23 | runs-on: ubuntu-latest |
| 25 | 24 | defaults: |
| 26 | 25 | run: |
| @@ -40,6 +39,7 @@ jobs: | ||
| 40 | 39 | deploy: |
| 41 | 40 | name: ☁️ Deploy to Cloudflare |
| 42 | 41 | needs: checks |
| 42 | if: github.repository == 'lissy93/awesome-privacy' | |
| 43 | 43 | runs-on: ubuntu-latest |
| 44 | 44 | defaults: |
| 45 | 45 | run: |