Skip to content

Commit 1e759db

Browse files
authored
Create Doc.yml
1 parent 01f66fb commit 1e759db

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/Doc.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Publish Doc
2+
3+
on:
4+
release:
5+
types:
6+
- published
7+
- edited
8+
9+
permissions:
10+
contents: write
11+
12+
concurrency:
13+
group: ${{ github.ref }}
14+
cancel-in-progress: true
15+
16+
jobs:
17+
# https://github.com/apple/swift-docc/issues/255#issuecomment-1125685372
18+
# https://github.com/sersoft-gmbh/oss-common-actions/blob/main/.github/workflows/swift-generate-and-publish-docs.yml
19+
generate-and-publish-docs:
20+
uses: sersoft-gmbh/oss-common-actions/.github/workflows/swift-generate-and-publish-docs.yml@main
21+
with:
22+
os: macOS
23+
swift-version: '5.9'
24+
organisation: ${{ github.repository_owner }}
25+
repository: ${{ github.event.repository.name }}
26+
pages-branch: gh-pages

0 commit comments

Comments
 (0)