Skip to content

Commit 6703179

Browse files
committed
fix: supprimer le trigger pull_request inutile dans deploy.yml
1 parent 1983346 commit 6703179

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ name: Deploy David KRK Site
33
on:
44
push:
55
branches: [gh-pages]
6-
pull_request:
7-
branches: [gh-pages]
86
workflow_dispatch:
97

108
permissions:
@@ -36,21 +34,17 @@ jobs:
3634
run: npm run build
3735

3836
- name: Setup Pages
39-
if: github.event_name == 'push'
4037
uses: actions/configure-pages@v4
4138

4239
- name: Remove node_modules before upload
43-
if: github.event_name == 'push'
4440
run: rm -rf node_modules
4541

4642
- name: Upload artifact
47-
if: github.event_name == 'push'
4843
uses: actions/upload-pages-artifact@v3
4944
with:
5045
path: '.'
5146

5247
deploy:
53-
if: github.event_name == 'push'
5448
permissions:
5549
contents: read
5650
pages: write

0 commit comments

Comments
 (0)