Skip to content

feat: adds the documentation #3

feat: adds the documentation

feat: adds the documentation #3

Workflow file for this run

name: Deploy Docs
on:
push:
branches:
- main
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