diff --git a/.github/workflows/deploy_docs.yml b/.github/workflows/deploy_docs.yml index 100bbae..a113385 100644 --- a/.github/workflows/deploy_docs.yml +++ b/.github/workflows/deploy_docs.yml @@ -7,6 +7,7 @@ on: # using the `master` branch as the default branch. push: branches: [main] + paths: 'docs/**' # Allows you to run this workflow manually from the Actions tab workflow_dispatch: diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 2a3f658..d637b29 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -6,8 +6,16 @@ name: Python package on: push: branches: [ main ] + paths-ignore: + - './README.md' + - 'docs/**' + - '.github/workflows/deploy_docs.md' pull_request: branches: [ main ] + paths-ignore: + - './README.md' + - 'docs/**' + - '.github/workflows/deploy_docs.md' jobs: build: