Only trigger on source code changes

This commit is contained in:
Marc Rousavy 2021-03-04 10:28:51 +01:00
parent e7f696112e
commit 0709711b07

View File

@ -2,9 +2,23 @@ name: Build Documentation
on: on:
pull_request: pull_request:
branches: [main] branches:
- main
paths:
- '.github/workflows/build-docs.yml'
- 'src/**'
- 'docs/**'
- '*.js'
- '*.json'
push: push:
branches: [main] branches:
- main
paths:
- '.github/workflows/build-docs.yml'
- 'src/**'
- 'docs/**'
- '*.js'
- '*.json'
jobs: jobs:
checks: checks: