Skip to content

Commit

Permalink
fix: show preview if any file(s) in the docs folder change (#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
icaraps authored Jun 22, 2023
1 parent 4d8bc2a commit a0cc85d
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/preview.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,9 @@ jobs:
with:
json: true
json_raw_format: true
files: |
docs/**/*.adoc
docs/**/book.yml
files: docs

- name: Show preview if any *.adoc or book.yml in the docs folder change
- name: Show preview if any file(s) in the docs folder change
if: steps.changed-files-specific.outputs.any_changed == 'true'
uses: actions/github-script@v6
with:
Expand Down

0 comments on commit a0cc85d

Please sign in to comment.