Skip to content

Commit 57fc484

Browse files
authored
Merge pull request #96 from hmakelin/fix-build-docs-workflow
Fix building docs in workflow
2 parents b127b7c + d90d10d commit 57fc484

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

.github/workflows/build_and_deploy_sphinx_docs.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,23 +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
16+
container: ghcr.io/${{ github.repository }}:latest
2017
defaults:
2118
run:
2219
shell: bash
2320
steps:
2421
- name: Build Sphinx docs
2522
run: |
26-
mkdir docs
27-
docker run ghcr.io/${{ github.repository }}:latest cd /opt/colcon_ws/src/gisnav && make docs
28-
docker cp $(docker ps -q -l):/opt/colcon_ws/src/gisnav/docs/_build docs
23+
make docs
2924
3025
- name: Install node
3126
run: |

0 commit comments

Comments
 (0)