We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 255a051 commit 51f8808Copy full SHA for 51f8808
.github/workflows/publish-docs.yml
@@ -17,6 +17,26 @@ jobs:
17
run: |
18
git config --global user.name 'travis-ci'
19
git config --global user.email '[email protected]'
20
+
21
+ - name: Filter changed file paths to outputs
22
+ uses: dorny/[email protected]
23
+ id: changes
24
+ with:
25
+ filters: |
26
+ root_docs:
27
+ - CHANGES
28
+ - README.*
29
+ docs:
30
+ - 'docs/**/*.rst'
31
+ - 'docs/**/*.md'
32
+ - 'examples/**'
33
+ python_files:
34
+ - 'vcspull/**'
35
36
+ - name: Should publish
37
+ if: steps.changes.outputs.docs == 'true' || steps.changes.outputs.root_docs == 'true' || steps.changes.outputs.python_files == 'true'
38
+ run: echo "PUBLISH=$(echo true)" >> $GITHUB_ENV
39
40
- name: Set up Python ${{ matrix.python-version }}
41
uses: actions/setup-python@v1
42
with:
0 commit comments