Skip to content

Commit

Permalink
Fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
KaruroChori committed Jan 3, 2025
1 parent 771f772 commit b9bdf1d
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
17 changes: 12 additions & 5 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,16 @@ jobs:
doxygen
mkdocs build
bun install -g gh-pages
touch package.json #Needed, as I am not using one in this repo.
#- 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 }}
- 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 }}
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist/website
destination_dir: ${{ inputs.subdir }}
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ jobs:
docs-latest:
uses: ./.github/workflows/docs.yml
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
needs: [docs]
with:
subdir: latest
permissions:
Expand Down

0 comments on commit b9bdf1d

Please sign in to comment.