diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index f26a02f..8019b01 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -16,7 +16,7 @@ jobs: with: nim-version: ${{ env.nim-version }} - run: nimble install -Y - - run: nimble doc --index:on --project --git.url:https://github.com/${{ github.repository }} --git.commit:master --out:${{ env.deploy-dir }} ${{ env.nim-src }} + - run: nimble doc --index:on --project --git.url:https://github.com/${{ github.repository }} --git.commit:main --out:${{ env.deploy-dir }} ${{ env.nim-src }} - name: "Copy to index.html" run: cp ${{ env.deploy-dir }}/${{ github.event.repository.name }}.html ${{ env.deploy-dir }}/index.html - name: Deploy documents