Skip to content

Commit

Permalink
Add build for mkdocs (#18)
Browse files Browse the repository at this point in the history
* Create github-pages.yaml

* Updated mkdocs build

* Removed readme

* Test build

* Fixed mkdocs reference

* Remove test
  • Loading branch information
greggbjensen authored Jul 31, 2024
1 parent 930ae6a commit b9fb79f
Show file tree
Hide file tree
Showing 33 changed files with 43 additions and 4,780 deletions.
41 changes: 41 additions & 0 deletions .github/workflows/github-pages.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: github-pages

on:
push:
branches:
- main
workflow_dispatch:

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

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

jobs:
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
sparse-checkout: docs
- name: Build MkDocs
run: mkdocs build --config-file mkdocs.yaml
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: 'docs/site'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
site/
File renamed without changes.
131 changes: 0 additions & 131 deletions docs/site/404.html

This file was deleted.

Loading

0 comments on commit b9fb79f

Please sign in to comment.