aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/build_docs.yaml
blob: 485cc1073a2a2c88888669f0c5612775fda506a5 (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
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