diff --git a/.github/workflows/render-all.yml b/.github/workflows/render-all.yml index 9b64bc8..78266cc 100644 --- a/.github/workflows/render-all.yml +++ b/.github/workflows/render-all.yml @@ -45,9 +45,19 @@ jobs: rendering_docker_image: "${{ env.RENDERING_DOCKER_IMAGE }}" toggle_quiz_check: "${{ env.CHECK_QUIZZES }}" + build-collection: + name: Build Collection + uses: ./.github/workflows/build-collection.yml + with: + render-type: 'main' + repository: $GITHUB_REPOSITORY + secrets: + gh_pat: ${{ secrets.GH_PAT }} + yt_key: ${{ secrets.YT_KEY }} + render-bookdown: name: Render bookdown - needs: yaml-check + needs: [yaml-check, build-collection] runs-on: ubuntu-latest container: image: ${{needs.yaml-check.outputs.rendering_docker_image}} @@ -161,7 +171,7 @@ jobs: render-leanpub: name: Finish Leanpub prep - needs: [yaml-check, render-tocless] + needs: [yaml-check, build-collection, render-tocless] runs-on: ubuntu-latest container: image: jhudsl/ottrpal:main @@ -238,7 +248,7 @@ jobs: render-coursera: name: Finish Coursera prep - needs: [yaml-check, render-tocless] + needs: [yaml-check, build-collection, render-tocless] runs-on: ubuntu-latest container: image: ${{needs.yaml-check.outputs.rendering_docker_image}} diff --git a/_output.yml b/_output.yml index 7d6b017..1524bbd 100644 --- a/_output.yml +++ b/_output.yml @@ -7,6 +7,7 @@ bookdown::gitbook: after_body: assets/AnVIL_style/footer.html highlight: tango config: + edit: https://github.com/fhdsl/AnVIL_Collection/blob/main/%s toc: collapse: section before: |