Skip to content

Commit 991398a

Browse files
committed
fix(ci): remove pull request triggers from deployment workflow
1 parent eda63b6 commit 991398a

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

.github/workflows/deploy.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ name: Build and Deploy to Netlify
33
on:
44
push:
55
branches: [ main ]
6-
pull_request:
7-
branches: [ main ]
86

97
jobs:
108
build-and-deploy:
@@ -34,12 +32,11 @@ jobs:
3432
with:
3533
publish-dir: './dist'
3634
production-branch: main
35+
production-deploy: true
3736
github-token: ${{ secrets.GITHUB_TOKEN }}
38-
deploy-message: "Deploy from GitHub Actions"
39-
enable-pull-request-comment: false
37+
deploy-message: "Production deploy from main branch"
4038
enable-commit-comment: true
41-
overwrites-pull-request-comment: true
4239
env:
4340
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
4441
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
45-
timeout-minutes: 1
42+
timeout-minutes: 2

0 commit comments

Comments
 (0)