File tree Expand file tree Collapse file tree 2 files changed +13
-10
lines changed
Expand file tree Collapse file tree 2 files changed +13
-10
lines changed Original file line number Diff line number Diff line change 1313jobs :
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 : |
27- apt-get update
28- apt-get -y install curl
28+ sudo apt-get update
29+ sudo apt-get -y install curl
2930 curl -fsSL https://deb.nodesource.com/setup_18.x | bash -
30- apt-get install -y nodejs
31+ sudo apt-get install -y nodejs
3132
3233 - name : Setup pages
3334 uses : actions/configure-pages@v1
3435
35- - name : Make "Upload pages artifact" step work with containers
36- run : |
37- mkdir -p ${{runner.temp}}
38- mkdir -p /__w/_temp
39- ln -s ${{runner.temp}}/artifact.tar /__w/_temp/artifact.tar
36+ # - name: Make "Upload pages artifact" step work with containers
37+ # run: |
38+ # mkdir -p ${{runner.temp}}
39+ # mkdir -p /__w/_temp
40+ # ln -s ${{runner.temp}}/artifact.tar /__w/_temp/artifact.tar
4041
4142 - name : Upload pages artifact
4243 uses : actions/upload-pages-artifact@v1
Original file line number Diff line number Diff line change 2525 uses : actions/checkout@v3
2626 with :
2727 path : colcon_ws/src/gisnav
28+ fetch-depth : 0 # need for building docs (conf.py git describe)
29+ fetch-tags : True # need for building docs (conf.py git describe)
2830
2931 - name : Login to GHCR
3032 uses : docker/login-action@v2
You can’t perform that action at this time.
0 commit comments