Skip to content

Commit

Permalink
Adds deploy workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ArchLeaders committed Feb 23, 2024
1 parent 6e2cdc4 commit 873042d
Showing 1 changed file with 46 additions and 0 deletions.
46 changes: 46 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
on:
push:
branches:
- main

permissions:
contents: read
pages: write
id-token: write

concurrency:
group: "pages"
cancel-in-progress: false

jobs:
publish-docs:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected]

- name: Dotnet Setup
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.x

- name: Install DocFX
run: dotnet tool update -g docfx

- name: Build DocFX
run: docfx docfx.json

- name: Setup Pages
uses: actions/[email protected]

- name: Upload artifact
uses: actions/[email protected]
with:
path: _site

- name: Deploy to GitHub Pages
id: deployment
uses: actions/[email protected]

0 comments on commit 873042d

Please sign in to comment.