Skip to content

Commit

Permalink
Ensure gh-pages git history is fetched, add comments to workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Evan Flynn <[email protected]>
  • Loading branch information
flynneva authored and evan-flynn-apexai committed Apr 21, 2022
1 parent df80ccb commit c4eb5fa
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,11 @@ jobs:
--config ros2_ws/src/reference_system/docs/doxybook2_config.json
- name: build mkdocs site
run: |
cd ros2_ws/src/reference_system/docs
cd ros2_ws/src/reference_system/
# ensure gh-pages git history is fetched
git fetch origin gh-pages --depth=1
cd docs
apt-get update -y
# install mkdocs dependencies
pip3 install mkdocs mkdocs-material mike
mike deploy main latest
with:
github_token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit c4eb5fa

Please sign in to comment.