Skip to content

Commit a7c7053

Browse files
authored
Merge pull request #100 from ros-realtime/fix/docs-ci
Ensure gh-pages git history is fetched, add comments to workflow
2 parents d5665e3 + c4eb5fa commit a7c7053

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/docs.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,11 @@ jobs:
4242
--config ros2_ws/src/reference_system/docs/doxybook2_config.json
4343
- name: build mkdocs site
4444
run: |
45-
cd ros2_ws/src/reference_system/docs
45+
cd ros2_ws/src/reference_system/
46+
# ensure gh-pages git history is fetched
47+
git fetch origin gh-pages --depth=1
48+
cd docs
4649
apt-get update -y
50+
# install mkdocs dependencies
4751
pip3 install mkdocs mkdocs-material mike
4852
mike deploy main latest
49-
with:
50-
github_token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)