Skip to content

Commit d90d10d

Browse files
committed
Simplify build docs step
1 parent e637f5a commit d90d10d

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/build_and_deploy_sphinx_docs.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,14 @@ on:
1313
jobs:
1414
build:
1515
runs-on: ubuntu-20.04
16+
container: ghcr.io/${{ github.repository }}:latest
1617
defaults:
1718
run:
1819
shell: bash
1920
steps:
2021
- name: Build Sphinx docs
2122
run: |
22-
mkdir docs
23-
docker run ghcr.io/${{ github.repository }}:latest bash -c "cd /opt/colcon_ws/src/gisnav && make docs"
24-
docker cp $(docker ps -q -l):/opt/colcon_ws/src/gisnav/docs/_build docs
23+
make docs
2524
2625
- name: Install node
2726
run: |

0 commit comments

Comments
 (0)