Skip to content

Merge pull request #516 from solliancenet/aa-azure-sql-content-source #66

Merge pull request #516 from solliancenet/aa-azure-sql-content-source

Merge pull request #516 from solliancenet/aa-azure-sql-content-source #66

Workflow file for this run

name: github-pages
on:
push:
branches: [ main ]
permissions:
contents: write
pages: write
id-token: write
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
publish-docs:
environment:
name: github-pages
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Dotnet Setup
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.x
- run: dotnet tool update -g docfx
- run: docfx docs/docfx.json
- name: Setup Pages
uses: actions/configure-pages@v3
- name: Deploy to GitHub Pages
if: |
github.event.repository.fork == false &&
github.ref_name == github.event.repository.default_branch
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/_site
cname: docs.foundationallm.ai