Skip to content

Commit b1a544e

Browse files
committed
✨ Add docs workflow
1 parent 9ce4290 commit b1a544e

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/docs.yml

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Documentation
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- uses: actions/checkout@v2
14+
- name: Generate Documentation
15+
uses: SwiftDocOrg/swift-doc@master
16+
with:
17+
inputs: "Reqres"
18+
output: "Documentation"
19+
- name: Upload Documentation to Wiki
20+
uses: SwiftDocOrg/github-wiki-publish-action@master
21+
with:
22+
path: "Documentation"
23+
env:
24+
GITHUB_PERSONAL_ACCESS_TOKEN: ${{ secrets.CI_PERSONAL_ACCESS_TOKEN }}

0 commit comments

Comments
 (0)