name: Publish Documentation on: release: types: - published - edited push: branches: [ master ] 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