Skip to content

Commit 035f2b3

Browse files
authored
Merge pull request #122 from hmakelin/fix-vitepress-build-2
Fix docs build
2 parents 30a95e9 + 632512b commit 035f2b3

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.github/workflows/build_and_deploy_docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
run: |
2626
mkdir -p docs/_build
2727
docker run ghcr.io/${{ github.repository }}:latest make docs
28-
docker cp $(docker ps -q -l):/opt/colcon_ws/src/gisnav/docs/vitepress/docs/dist docs
28+
docker cp $(docker ps -q -l):/opt/colcon_ws/src/gisnav/docs/vitepress/docs/.vitepress/dist docs
2929
3030
- name: Install node
3131
run: |

docker/mavros/Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,10 @@ RUN apt-get update \
110110
# Node 18 for building the docs (Sphinx dependencies already in setup.py)
111111
RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash \
112112
&& source ~/.nvm/nvm.sh \
113-
&& nvm install 18 \
114-
&& nvm use 18
113+
&& nvm install 20 \
114+
&& nvm use 20 \
115+
&& cd docs/vitepress \
116+
&& npm install
115117

116118
ENTRYPOINT ["/entrypoint.sh"]
117119

0 commit comments

Comments
 (0)