Reworked landing page fix #21
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: Deploy Docs | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build-deploy: | |
permissions: | |
contents: write | |
pages: write | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- uses: oven-sh/setup-bun@v2 | |
with: | |
bun-version: latest | |
- name: Build | |
run: | | |
sudo apt install -y \ | |
doxygen \ | |
python3-pip \ | |
python3-setuptools | |
python3 -m pip install mkdocs mkdocs-github-admonitions-plugin mkdocs-get-deps pymdown-extensions | |
doxygen | |
mkdocs build | |
bun install -g gh-pages | |
- name: Deploy | |
run: | | |
git remote set-url origin https://git:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git | |
gh-pages -d dist/website -e . -u "github-actions-bot <[email protected]>" | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |