aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/build_docs.yaml
diff options
context:
space:
mode:
authorNavan Chauhan <navanchauhan@gmail.com>2023-12-16 23:20:08 -0700
committerNavan Chauhan <navanchauhan@gmail.com>2023-12-16 23:20:08 -0700
commitee8f0c70dd90814125b3a29225a42fff5b26492a (patch)
tree92d5335bbd0ca76b04228ed18da2840cf6f332fe /.github/workflows/build_docs.yaml
parentc808fa9ab35fde98d592acf74e74055f5f4a18c5 (diff)
build documentation
Diffstat (limited to '.github/workflows/build_docs.yaml')
-rw-r--r--.github/workflows/build_docs.yaml26
1 files changed, 26 insertions, 0 deletions
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