diff --git a/.github/workflows/cache.yml b/.github/workflows/cache.yml index d8572f141..631e77e96 100644 --- a/.github/workflows/cache.yml +++ b/.github/workflows/cache.yml @@ -21,7 +21,7 @@ jobs: - name: Build HTML shell: bash -l {0} run: | - jb build lectures --path-output ./ + jb build lectures --path-output ./ -W --keep-going - name: Upload "_build" folder (cache) uses: actions/upload-artifact@v2 with: diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 32b1c7ab6..8f4f6fe14 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -35,7 +35,7 @@ jobs: - name: Download "build" folder (cache) uses: dawidd6/action-download-artifact@v2 with: - workflow: publish.yml + workflow: cache.yml branch: main name: build-cache path: _build diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 2bc4d4546..e95449f9e 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -36,6 +36,13 @@ jobs: - name: Display Pip Versions shell: bash -l {0} run: pip list + # - name: Download "build" folder (cache) + # uses: dawidd6/action-download-artifact@v2 + # with: + # workflow: cache.yml + # branch: main + # name: build-cache + # path: _build # Build Assets (Download Notebooks and PDF via LaTeX) - name: Build PDF from LaTeX shell: bash -l {0} @@ -71,11 +78,6 @@ jobs: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: _build/html/ cname: python.quantecon.org - - name: Upload "_build" folder (cache) - uses: actions/upload-artifact@v2 - with: - name: build-cache - path: _build - name: Prepare lecture-python.notebooks sync shell: bash -l {0} run: |