Skip to content

Commit c84176b

Browse files
committed
change to only deploy on merge
1 parent b5f3806 commit c84176b

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/mkdocs_deploy.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
1-
name: Build Documentation using MkDocs
1+
name: Deploy Documentation using MkDocs
22

33
# Controls when the action will run. Triggers the workflow on push or pull request
44
# events but only for the master branch
55
on:
66
push:
77
branches: [main]
8-
pull_request:
9-
branches: [main]
108
permissions:
119
contents: write
1210
jobs:
@@ -31,4 +29,4 @@ jobs:
3129
restore-keys: |
3230
mkdocs-material-
3331
- run: pip install -r requirements.txt
34-
- run: mkdocs gh-deploy --strict --force
32+
- run: mkdocs gh-deploy --strict --force

0 commit comments

Comments
 (0)