Skip to content

v5.0.3

v5.0.3 #20

Workflow file for this run

name: Deploy Docs
on:
release:
types: [published]
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
deploy:
runs-on: macos-13
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- uses: actions/checkout@v3
- uses: actions/configure-pages@v3
- name: Build docs
run: swift package --allow-writing-to-directory ./docs generate-documentation --target OllamaKit --disable-indexing --output-path ./docs --transform-for-static-hosting --hosting-base-path OllamaKit
- uses: actions/upload-pages-artifact@v2
with:
path: "docs"
- uses: actions/deploy-pages@v2
id: deployment