Skip to content

Commit 212e5be

Browse files
committed
Use docker container inside step instead of in workflow config as GitHub Actions overrides entrypoint [skip ci]
1 parent 57fc484 commit 212e5be

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/build_and_deploy_sphinx_docs.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,15 @@ on:
1313
jobs:
1414
build:
1515
runs-on: ubuntu-20.04
16-
container: ghcr.io/${{ github.repository }}:latest
1716
defaults:
1817
run:
1918
shell: bash
2019
steps:
2120
- name: Build Sphinx docs
2221
run: |
23-
make docs
22+
mkdir -p docs/_build
23+
docker run ghcr.io/${{ github.repository }}:latest make docs
24+
docker cp $(docker ps -q -l):/opt/colcon_ws/src/gisnav/docs/_build docs
2425
2526
- name: Install node
2627
run: |

0 commit comments

Comments
 (0)