Skip to content

Commit

Permalink
Docs writer II
Browse files Browse the repository at this point in the history
  • Loading branch information
karurochari committed Dec 17, 2024
1 parent 59eaed5 commit abd8e11
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,24 @@ jobs:
- 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
python3 -m pip install mkdocs mkdocs-github-admonitions-plugin mkdocs-get-deps pymdownx
mkdir dist
doxygen
mkdocs build
echo "<a href=\"./website\">Website</a> or <a href=\"./docs\">Doxygen</a>" > ./dist/index.html
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 -e . -u \"github-actions-bot <[email protected]>\"
gh-pages -d dist -e . -u "github-actions-bot <[email protected]>"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit abd8e11

Please sign in to comment.