diff --git a/.github/workflows/book.yml b/.github/workflows/book.yml index 2af7ac8e..c1aff412 100644 --- a/.github/workflows/book.yml +++ b/.github/workflows/book.yml @@ -24,13 +24,19 @@ jobs: with: environment-file: binder/conda/environment.yml mamba-version: "*" + # Build the book - name: Build the book run: | jupyter-book build . - # Push the book's HTML to github-pages - - name: GitHub Pages action - uses: peaceiris/actions-gh-pages@v3.5.9 + + # Upload the book's HTML as an artifact + - name: Upload artifact + uses: actions/upload-pages-artifact@v2 with: - github_token: ${{ secrets.GITHUB_TOKEN }} - publish_dir: ./_build/html \ No newline at end of file + path: "_build/html" + + # Deploy the book's HTML to GitHub Pages + - name: Deploy to GitHub Pages + id: deployment + uses: actions/deploy-pages@v2 \ No newline at end of file diff --git a/ERRATA.md b/ERRATA.md index f60f89ef..688efe60 100644 --- a/ERRATA.md +++ b/ERRATA.md @@ -21,7 +21,7 @@ This repository supporting AR6 WGI is frozen, and does not accept any further co - Proposing new notebooks/scripts exploiting the data