Skip to content

Commit d5674c5

Browse files
authored
docs: Convert to markdown (#321)
2 parents e6a3067 + d27671b commit d5674c5

34 files changed

+1788
-1372
lines changed

.github/workflows/publish-docs.yml

+21-1
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,28 @@ jobs:
1515
- uses: actions/checkout@v1
1616
- name: Configure git
1717
run: |
18-
git config --global user.name 'travis-ci'
18+
git config --global user.name 'travis-ci'
1919
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+
- 'libtmux/**'
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+
2040
- name: Set up Python ${{ matrix.python-version }}
2141
uses: actions/setup-python@v1
2242
with:

0 commit comments

Comments
 (0)