Skip to content

Commit c92c852

Browse files
committed
Only deploy for push, not pull request
1 parent 72d271c commit c92c852

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/Build.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,8 @@ jobs:
143143
name: Deploy code to prod
144144
runs-on: ubuntu-latest
145145
needs: [PHPUnit, PHPStan, Vite, Prettier, PHP-CS-Fixer]
146-
146+
if: github.event_name == 'push'
147+
147148
steps:
148149
- name: Checkout
149150
uses: actions/checkout@v4

0 commit comments

Comments
 (0)