Skip to content
This repository was archived by the owner on Jun 1, 2023. It is now read-only.

Commit a47f178

Browse files
committed
Add documentation workflow
1 parent 0266ce4 commit a47f178

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/documentation.yml

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

0 commit comments

Comments
 (0)