-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
karurochari
committed
Dec 17, 2024
1 parent
59eaed5
commit abd8e11
Showing
1 changed file
with
10 additions
and
2 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 }} |