blob: e74742f9c76cbe25f0bf6e1495589cc0104a00ea (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
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/setup-swift@v1.25.0
with:
swift-version: '5.9'
- name: Swift Package Documentation Generator
uses: sersoft-gmbh/swifty-docs-action@v3.0.0
with:
transform-for-static-hosting: true
hosting-base-path: swift-gopher
output: docs
|