-
Notifications
You must be signed in to change notification settings - Fork 3
31 lines (27 loc) · 802 Bytes
/
Doc.yml
File metadata and controls
31 lines (27 loc) · 802 Bytes
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
name: Publish Doc
on:
release:
types:
- published
- edited
push:
branches:
- main
paths:
- '.github/workflows/Doc.yml'
permissions:
contents: write
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
# https://github.com/apple/swift-docc/issues/255#issuecomment-1125685372
# https://github.com/sersoft-gmbh/oss-common-actions/blob/main/.github/workflows/swift-generate-and-publish-docs.yml
generate-and-publish-docs:
uses: sersoft-gmbh/oss-common-actions/.github/workflows/swift-generate-and-publish-docs.yml@main
with:
os: ubuntu
swift-version: '5.9'
organisation: ${{ github.repository_owner }}
repository: ${{ github.event.repository.name }}
pages-branch: gh-pages