From ee8f0c70dd90814125b3a29225a42fff5b26492a Mon Sep 17 00:00:00 2001 From: Navan Chauhan Date: Sat, 16 Dec 2023 23:20:08 -0700 Subject: build documentation --- .github/workflows/build_docs.yaml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/build_docs.yaml (limited to '.github') diff --git a/.github/workflows/build_docs.yaml b/.github/workflows/build_docs.yaml new file mode 100644 index 0000000..485cc10 --- /dev/null +++ b/.github/workflows/build_docs.yaml @@ -0,0 +1,26 @@ +name: Publish Documentation + +on: + release: + types: + - published + - edited + push: + branches: [ main ] + +permissions: + contents: write + +concurrency: + group: ${{ github.ref }} + cancel-in-progress: true + +jobs: + generate-and-publish-docs: + uses: sersoft-gmbh/oss-common-actions/.github/workflows/swift-generate-and-publish-docs.yml@main + with: + os: macOS + swift-version: '5.9' + organisation: ${{ github.repository_owner }} + repository: ${{ github.event.repository.name }} + pages-branch: gh-pages -- cgit v1.2.3