Skip to content

1.0.3

1.0.3 #4

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-15
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- uses: actions/checkout@v4
- uses: actions/configure-pages@v5
- name: Build docs
run: swift package --allow-writing-to-directory ./docs generate-documentation --target AIModelRetriever --disable-indexing --output-path ./docs --transform-for-static-hosting --hosting-base-path swift-ai-model-retriever
- uses: actions/upload-pages-artifact@v3
with:
path: "docs"
- uses: actions/deploy-pages@v4
id: deployment