Skip to content

Commit bc82364

Browse files
committed
GH Actions: add workflow to automatically deploy the wiki
1 parent 3aebdaa commit bc82364

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
@@ -104,6 +104,8 @@ jobs:
104104
- name: Re-run tables of contents with different settings for specific file
105105
run: doctoc ./_wiki/Version-4.0-User-Upgrade-Guide.md --github --maxlevel 3 --update-only
106106

107+
# TODO:
108+
# Update output examples
107109

108110
# ############################
109111
# Deploy.

0 commit comments

Comments
 (0)