Skip to content

fix cmd to execute chainlit app #155

fix cmd to execute chainlit app

fix cmd to execute chainlit app #155

name: Build and Deploy Documentation
on:
push:
branches:
- main
paths:
- 'docs/**'
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
jobs:
# Build the documentation.
build:
concurrency: ci-${{ github.ref }}
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install, build, and upload documentation
uses: withastro/action@v2
with:
path: ./docs
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
path: ./docs/dist
# Deploy the documentation to GitHub Pages.
deploy:
needs: build
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@7a9bd943aa5e5175aeb8502edcc6c1c02d398e10