We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7feb39b commit fc3583cCopy full SHA for fc3583c
.github/workflows/deploy-to-gh-pages.yml
@@ -4,7 +4,21 @@ on:
4
branches:
5
- master
6
jobs:
7
+ changes:
8
+ runs-on: ubuntu-latest
9
+ outputs:
10
+ docs: ${{ steps.filter.outputs.docs }}
11
+ steps:
12
+ - uses: dorny/paths-filter@v2
13
+ id: filter
14
+ with:
15
+ filters: |
16
+ docs:
17
+ - 'docs/**'
18
+
19
build-and-deploy:
20
+ needs: changes
21
+ if: ${{ needs.changes.outputs.docs == 'true' }}
22
runs-on: ubuntu-latest
23
steps:
24
- name: Checkout 🛎️
0 commit comments