Skip to content

Update build_docs.yaml #9

Update build_docs.yaml

Update build_docs.yaml #9

Workflow file for this run

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
targets: "GopherHelpers\nswift-gopher\nswiftGopherClient"
output: docs
- name: Upload docs
uses: actions/upload-artifact@v1
if: always()
with:
name: docs
path: docs