Skip to content

Commit

Permalink
Merge pull request #100 from ros-realtime/fix/docs-ci
Browse files Browse the repository at this point in the history
Ensure gh-pages git history is fetched, add comments to workflow
  • Loading branch information
flynneva authored Apr 30, 2022
2 parents d5665e3 + c4eb5fa commit a7c7053
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 a7c7053

Please sign in to comment.