Skip to content
This repository was archived by the owner on Oct 21, 2023. It is now read-only.

Commit d0081dd

Browse files
author
ElstaraNova
committed
ci: fix wrong path filter
1 parent d99ebd7 commit d0081dd

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

.github/workflows/deploy-doc.yaml

+14-2
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,23 @@ on:
33
push:
44
branches:
55
- master
6-
path:
7-
- "doc/**"
86

97
jobs:
8+
changes:
9+
runs-on: ubuntu-latest
10+
outputs:
11+
doc: ${{ steps.filter.outputs.doc }}
12+
steps:
13+
- uses: actions/checkout@v2
14+
- uses: dorny/paths-filter@v2
15+
id: filter
16+
with:
17+
filters: |
18+
doc:
19+
- 'doc/**'
1020
deploy:
21+
needs: changes
22+
if: ${{ needs.changes.outputs.doc == 'true' }}
1123
runs-on: ubuntu-latest
1224
steps:
1325
- uses: actions/checkout@v2

0 commit comments

Comments
 (0)