Skip to content

Commit

Permalink
add workflow to publish documentation to wiki
Browse files Browse the repository at this point in the history
  • Loading branch information
WowbaggersLiquidLunch authored Jan 25, 2021
1 parent 0212f7a commit 35dc608
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/Publish New Version.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@

name: Publish New Version

on:
release:
types: [ published ]

jobs:
update_wiki:
name: Update Wiki
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Generate Documentation
uses: SwiftDocOrg/swift-doc@master
with:
inputs: "./Sources"
module-name: Quantum
- name: Upload Documentation to Wiki
uses: SwiftDocOrg/github-wiki-publish-action@v1
env:
GH_PERSONAL_ACCESS_TOKEN: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}

0 comments on commit 35dc608

Please sign in to comment.