diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 68b139cf..e8011cb2 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -5,6 +5,9 @@ on: # using the `master` branch as the default branch. push: branches: [master] + paths: + - .github/workflows/deploy.yml + - docs/** # Allows you to run this workflow manually from the Actions tab workflow_dispatch: @@ -61,4 +64,4 @@ jobs: steps: - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v4 \ No newline at end of file + uses: actions/deploy-pages@v4 diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index 892b2680..df267a04 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -6,8 +6,14 @@ name: validate on: push: branches: [master] + paths: + - Source/** + - .github/workflows/** pull_request: branches: [master] + paths: + - Source/** + - .github/workflows/** jobs: get_version: