Skip to content

Commit 64036a5

Browse files
committed
GH Actions: add workflow to automatically deploy the wiki
1 parent 956e650 commit 64036a5

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

.github/workflows/deploy-to-wiki.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
2+
3+
Automatically add the following at the top of each file:
4+
5+
```
6+
<!--
7+
DO NOT EDIT THIS FILE IN THE WIKI.
8+
This wiki is updated from the https://github.com/PHPCSStandards/PHP_CodeSniffer-documentation repo.
9+
Submit a PR to that repo updating the file in the `/wiki/` subdirectory instead.
10+
-->
11+
```
12+
13+
14+
Automatically replace output example placeholders with real output
15+

.github/workflows/publish-wiki.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,8 @@ jobs:
9393
- name: Re-run tables of contents with different settings for specific file
9494
run: doctoc ./_wiki/Version-4.0-User-Upgrade-Guide.md --github --maxlevel 3 --update-only
9595

96+
# TODO:
97+
# Update output examples
9698

9799
# ############################
98100
# Deploy.

0 commit comments

Comments
 (0)