Create wiki.yml
This commit is contained in:
parent
83614dbeed
commit
b4848375f7
|
@ -0,0 +1,25 @@
|
|||
name: Documentation
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Generate Documentation
|
||||
uses: SwiftDocOrg/swift-doc@master
|
||||
with:
|
||||
inputs: "Sources"
|
||||
module-name: UIPreview
|
||||
output: "docs"
|
||||
- name: Upload Documentation to Wiki
|
||||
uses: SwiftDocOrg/github-wiki-publish-action@v1
|
||||
with:
|
||||
path: "docs"
|
||||
env:
|
||||
GH_PERSONAL_ACCESS_TOKEN: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}
|
Loading…
Reference in New Issue