Skip to content

Merge pull request #2105 from solliancenet/jdh-user-portal-timer #1069

Merge pull request #2105 from solliancenet/jdh-user-portal-timer

Merge pull request #2105 from solliancenet/jdh-user-portal-timer #1069

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