diff --git a/.github/workflows/book.yml b/.github/workflows/book.yml index f01af9a796..cd4ba64456 100644 --- a/.github/workflows/book.yml +++ b/.github/workflows/book.yml @@ -3,6 +3,8 @@ on: push: branches: - main + paths: + - 'docs/**' jobs: deploy: diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e2baf536b6..f724cafc21 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,10 +1,16 @@ -name: Rust +name: CI on: push: branches: ["main"] + paths-ignore: + - "docs/**" + - "README.md" pull_request: branches: ["main"] + paths-ignore: + - "docs/**" + - "README.md" env: CARGO_TERM_COLOR: always