Skip to content

Commit 64fedbc

Browse files
committed
Simplify GitHub Actions documentation update workflow trigger conditions
- Remove branch-specific push trigger - Remove conditional deployment check - Streamline workflow configuration for more flexible execution
1 parent 759287a commit 64fedbc

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

.github/workflows/update_docs.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,8 @@ name: Update Docs
22

33
on:
44
push:
5-
branches:
6-
- main # specify branches if needed
75
pull_request:
8-
workflow_dispatch:
6+
workflow_dispatch
97

108
env:
119
PYTHON_VERSION: '3.8'
@@ -60,7 +58,6 @@ jobs:
6058
sh build_html.sh
6159
6260
- name: Deploy to html-en repository
63-
if: github.event_name != 'pull_request' # Don't deploy on PRs
6461
env:
6562
GH_TOKEN: ${{ secrets.GH_TOKEN }}
6663
run: |

0 commit comments

Comments
 (0)