diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e909a9b2..7896be98 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -53,7 +53,7 @@ jobs: run: jupyter-book build docs/ - name: Upload pages artifact if: ${{ github.ref == 'refs/heads/main' }} - uses: actions/upload-pages-artifact@v2 + uses: actions/upload-pages-artifact@v3 with: path: docs/_build/html @@ -65,6 +65,7 @@ jobs: permissions: pages: write # to deploy to Pages id-token: write # to verify the deployment originates from an appropriate source + actions: read # to download an artifact uploaded by `actions/upload-pages-artifact@v3` environment: name: github-pages url: ${{ steps.deployment.outputs.page_url }} @@ -72,4 +73,4 @@ jobs: steps: - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v3 + uses: actions/deploy-pages@v4