Skip to content

Update documentation.yml #12

Update documentation.yml

Update documentation.yml #12

Workflow file for this run

name: Documentation
on:
workflow_dispatch: {}
push:
branches:
- main
paths:
- .github/workflows/documentation.yml
- Sources/**.swift
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Generate Documentation
uses: SwiftDocOrg/swift-doc@master
with:
inputs: "Sources"
module-name: MyLibrary
output: "Documentation"
- name: Upload Documentation to Wiki
uses: SwiftDocOrg/github-wiki-publish-action@v1
with:
path: "Documentation"
env:
GH_PERSONAL_ACCESS_TOKEN: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}