diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 1f35f2012..6bc5e01e4 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -3,10 +3,12 @@ on: # For manual pushes. workflow_dispatch: - # Enable for whenever main gets updated. - # push: - # branches: - # - main + # Pushes to main that touch the documentation directory. + push: + branches: + - main + paths: + - 'docs/**' permissions: contents: write