@@ -11,16 +11,17 @@ jobs:
1111 docs :
1212 runs-on : ubuntu-latest
1313 steps :
14- - uses : actions/checkout@v3
15- - uses : jiro4989/setup-nim-action@v1
16- with :
17- nim-version : ${{ env.nim-version }}
18- - run : nimble install -Y
19- - run : nimble doc --index:on --git.url:https://github.com/${{ github.repository }} --git.commit:master --out:${{ env.deploy-dir }}/ src/mummy/routers.nim
20- - run : nimble doc --index:on --project --git.url:https://github.com/${{ github.repository }} --git.commit:master --out:${{ env.deploy-dir }} ${{ env.nim-src }}
21- - run : nim buildIndex -o:${{ env.deploy-dir }}/index.html ${{ env.deploy-dir }}
22- - name : Deploy documents
23- uses : peaceiris/actions-gh-pages@v3
24- with :
25- github_token : ${{ secrets.GITHUB_TOKEN }}
26- publish_dir : ${{ env.deploy-dir }}
14+ - uses : actions/checkout@v4
15+ - uses : jiro4989/setup-nim-action@v2
16+ with :
17+ nim-version : ${{ matrix.nim-version }}
18+ repo-token : ${{ secrets.GITHUB_TOKEN }}
19+ - run : nimble install -Y
20+ - run : nimble doc --index:on --git.url:https://github.com/${{ github.repository }} --git.commit:master --out:${{ env.deploy-dir }}/ src/mummy/routers.nim
21+ - run : nimble doc --index:on --project --git.url:https://github.com/${{ github.repository }} --git.commit:master --out:${{ env.deploy-dir }} ${{ env.nim-src }}
22+ - run : nim buildIndex -o:${{ env.deploy-dir }}/index.html ${{ env.deploy-dir }}
23+ - name : Deploy documents
24+ uses : peaceiris/actions-gh-pages@v3
25+ with :
26+ github_token : ${{ secrets.GITHUB_TOKEN }}
27+ publish_dir : ${{ env.deploy-dir }}
0 commit comments