diff --git a/.github/workflows/swift.yml b/.github/workflows/swift.yml index d09ad4be..697c950e 100644 --- a/.github/workflows/swift.yml +++ b/.github/workflows/swift.yml @@ -42,13 +42,14 @@ jobs: release-docs: needs: [xenial, bionic] runs-on: ubuntu-latest + if: github.ref == 'refs/heads/master' steps: - uses: actions/checkout@v1.2.0 - name: Generate Documentation uses: SwiftDocOrg/swift-doc@master with: inputs: "Sources" - module-name: KognitaModels + module-name: HTMLKit output: "Documentation" - name: Upload Documentation to Wiki uses: SwiftDocOrg/github-wiki-publish-action@v1