Skip to content

Commit e637f5a

Browse files
committed
Fix building docs in workflow [skip ci]
1 parent b127b7c commit e637f5a

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

.github/workflows/build_and_deploy_sphinx_docs.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,22 +9,18 @@ on:
99
# Allows running manually from the Actions tab
1010
workflow_dispatch:
1111

12-
env:
13-
REGISTRY: ghcr.io
14-
IMAGE_NAME: ${{ github.repository }}
1512

1613
jobs:
1714
build:
1815
runs-on: ubuntu-20.04
19-
container: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest
2016
defaults:
2117
run:
2218
shell: bash
2319
steps:
2420
- name: Build Sphinx docs
2521
run: |
2622
mkdir docs
27-
docker run ghcr.io/${{ github.repository }}:latest cd /opt/colcon_ws/src/gisnav && make docs
23+
docker run ghcr.io/${{ github.repository }}:latest bash -c "cd /opt/colcon_ws/src/gisnav && make docs"
2824
docker cp $(docker ps -q -l):/opt/colcon_ws/src/gisnav/docs/_build docs
2925
3026
- name: Install node

0 commit comments

Comments
 (0)