docs: add download links to UiController page in API docs #163
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and Release Documentation | |
on: | |
repository_dispatch: | |
types: [askui_nodejs_package_released] | |
push: | |
paths: | |
- 'docs/**' | |
- '.github/workflows/docu-deployment.yml' | |
permissions: | |
contents: write | |
jobs: | |
build-and-deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Set up Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
- name: Install Dependencies | |
run: npm ci | |
- name: Build Documentation | |
run: npm run build -w docs | |
- name: Deploy to Github Pages | |
if: github.ref == 'refs/heads/main' | |
uses: JamesIves/[email protected] | |
with: | |
branch: gh-pages | |
folder: docs/dist |