Skip to content

ci: add "actions" permissions to fix GH Pages deploy#194

Merged
tbouffard merged 1 commit into
mainfrom
ci/fix_gh-pages_deploy
Dec 22, 2023
Merged

ci: add "actions" permissions to fix GH Pages deploy#194
tbouffard merged 1 commit into
mainfrom
ci/fix_gh-pages_deploy

Conversation

@tbouffard

@tbouffard tbouffard commented Dec 22, 2023

Copy link
Copy Markdown
Member

The deployment of 395c856 failed after bumping actions/deploy-pages from 3 to 4.

This new version of the action requires GH_TOKEN to have a new permission. This point was not documented at the time the action was bumped.

Notes

Adding this new permission has been successfully tested in the playground repository, see 395c856#commitcomment-135507566.

@tbouffard tbouffard added the chore Build, CI/CD or repository tasks (issues/PR maintenance, environments, ...) label Dec 22, 2023
@sonarqubecloud

Copy link
Copy Markdown

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

@tbouffard tbouffard merged commit 5271f86 into main Dec 22, 2023
@tbouffard tbouffard deleted the ci/fix_gh-pages_deploy branch December 22, 2023 08:18
@tbouffard

Copy link
Copy Markdown
Member Author

tbouffard referenced this pull request Dec 22, 2023
Also bump actions/upload-pages-artifact from 2 to 3, because this version of
actions/deploy-pages is ONLY compatible with artifacts uploaded by
actions/upload-pages-artifact@v3 or newer.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore Build, CI/CD or repository tasks (issues/PR maintenance, environments, ...)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant