Skip to content
This repository was archived by the owner on Apr 20, 2024. It is now read-only.

Commit 1bf4692

Browse files
Merge pull request #23 from nodes-vapor/feature/update-ci
Add documentation action
2 parents 02ec165 + c12ff83 commit 1bf4692

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/documentation.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Documentation
2+
3+
on:
4+
release:
5+
types: [published]
6+
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- uses: actions/checkout@v1
13+
- name: Generate Documentation
14+
uses: SwiftDocOrg/swift-doc@master
15+
with:
16+
inputs: "Sources"
17+
module-name: Gatekeeper
18+
output: "Documentation"
19+
- name: Upload Documentation to Wiki
20+
uses: SwiftDocOrg/github-wiki-publish-action@v1
21+
with:
22+
path: "Documentation"
23+
env:
24+
GH_PERSONAL_ACCESS_TOKEN: ${{ secrets.WIKI_ACCESS_TOKEN }}

0 commit comments

Comments
 (0)