Skip to content

Commit

Permalink
feat: add info on how to check for changes in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
yndx-birman committed Nov 15, 2023
1 parent ac73fd5 commit 81f1ddf
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,17 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Check for changes
uses: dorny/paths-filter@v2
id: changes
with:
filters: |
src:
- './docs/**'
- name: Build
if: steps.changes.outputs.src == 'true'
uses: diplodoc-platform/docs-build-action@v3
with:
revision: "pr-${{ github.event.pull_request.number }}"
Expand Down

0 comments on commit 81f1ddf

Please sign in to comment.