diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml index c42ca1f..77f3f89 100644 --- a/.github/workflows/static.yml +++ b/.github/workflows/static.yml @@ -2,12 +2,16 @@ name: Deploy static content to Pages on: - # Runs on pushes targeting the default branch push: - branches: ['main'] - - # Allows you to run this workflow manually from the Actions tab - workflow_dispatch: + branches: + - main + paths: + - 'website/**' + pull_request: + branches: + - main + paths: + - 'website/**' # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages permissions: