Skip to content

Update documentation.yml #14

Update documentation.yml

Update documentation.yml #14

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@v4.1.0
- name: Generate Documentation
uses: SwiftDocOrg/swift-doc@1.0.0-rc.1
with:
inputs: "Sources"
module-name: MyLibrary
output: "Documentation"
- name: Upload Documentation to Wiki
uses: SwiftDocOrg/github-wiki-publish-action@1.0.0
with:
path: "Documentation"
env:
GH_PERSONAL_ACCESS_TOKEN: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}