tirbofish/dropbear · commit
a6a5f38e0377eec8d38caa9828d398191ff94e16
started the switching to swift instead of gleam (as it is more suitable)
Signature present but could not be verified.
Unverified
@@ -0,0 +1,168 @@ +name: Generate Swift Documentation + +on: + push: + branches: [ main ] + paths: + - '**/*.swift' + - '.github/workflows/swift-docs.yaml' + pull_request: + branches: [ main ] + paths: + - '**/*.swift' + workflow_dispatch: + +permissions: + contents: read + pages: write + id-token: write + +concurrency: + group: "pages" + cancel-in-progress: false + +jobs: + generate-docs: + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v4 + with: + submodules: recursive + + - name: Setup Swift + uses: swift-actions/setup-swift@v1 + with: + swift-version: "5.9" + + - name: Install Swift-DocC Plugin + run: | + # Install Swift-DocC plugin for documentation generation + swift package plugin --allow-writing-to-directory docs \ + generate-documentation --target dropbear --disable-indexing \ + --transform-for-static-hosting --hosting-base-path dropbear \
Large diffs are not rendered by default. Showing the first 50 of 1930 lines. Show full diff