Update build_docs.yaml #6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish Documentation | |
on: | |
release: | |
types: | |
- published | |
- edited | |
push: | |
branches: [ master ] | |
permissions: | |
contents: write | |
concurrency: | |
group: ${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
generate-and-publish-docs: | |
runs-on: macOS-latest | |
steps: | |
- name: Get da Code | |
uses: actions/checkout@v4 | |
- name: Setup Swift | |
uses: swift-actions/[email protected] | |
with: | |
swift-version: '5.9' | |
- name: Swift Package Documentation Generator | |
uses: sersoft-gmbh/[email protected] | |
with: | |
transform-for-static-hosting: true | |
hosting-base-path: swift-gopher | |
output: docs |