Skip to content

Commit

Permalink
chore(gha): bump actions/deploy-pages from 3 to 4 (#308)
Browse files Browse the repository at this point in the history
Required additional changes:
    - bump actions/upload-pages-artifact from 2 to 3
    - deploy: add the "actions" permission which is now required

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Thomas Bouffard <27200110+tbouffard@users.noreply.github.com>
  • Loading branch information
dependabot[bot] and tbouffard authored Dec 21, 2023
1 parent 24cc93b commit 57b3bea
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/deploy-documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- name: Build documentation
uses: ./.github/actions/build-documentation
- name: Upload artifact for GitHub Pages
uses: actions/upload-pages-artifact@v2
uses: actions/upload-pages-artifact@v3
with:
path: build/docs

Expand All @@ -40,6 +40,7 @@ jobs:
contents: read
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`
# Deploy to the github-pages environment
environment:
name: github-pages
Expand All @@ -49,4 +50,4 @@ jobs:
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v3
uses: actions/deploy-pages@v4

0 comments on commit 57b3bea

Please sign in to comment.