-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
update to the latest pages action so that it might work again #311
update to the latest pages action so that it might work again #311
Conversation
The last docs update failed with: https://github.com/pantsbuild/pantsbuild.org/actions/runs/12934911051/job/36077004632 ``` Getting action download info Download action repository 'actions/checkout@v3' (SHA:f43a0e5ff2bd294095638e18286ca9a3d1956744) Download action repository 'actions/setup-node@v3' (SHA:1a4442cacd436585916779262731d5b162bc6ec7) Download action repository 'actions/cache@v3' (SHA:f4b3439a656ba812b8cb417d2d49f9c810103092) Download action repository 'actions/configure-pages@v3' (SHA:b8130d9ab958b325bbde9786d62f2c97a9885a0e) Download action repository 'actions/upload-pages-artifact@v2' (SHA:a753861a5debcf57bf8b404356158c8e1e33150c) Download action repository 'actions/deploy-pages@v2' (SHA:de14547edc9944350dc0481aa5b7afb08e75f254) Getting action download info Error: This request has been automatically failed because it uses a deprecated version of `actions/upload-artifact: v3`. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/ ``` This is presumably from a transitive dependency from `deploy-pages@v2` to the deprecated action.
Should |
Whoops, yes I believe that is correct. |
@@ -62,4 +62,4 @@ jobs: | |||
path: "./build" | |||
- name: Deploy to GitHub Pages | |||
id: deployment | |||
uses: actions/deploy-pages@v2 | |||
uses: actions/deploy-pages@v3 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The suggestion wasn't to use an older version of this action.
uses: actions/deploy-pages@v3 | |
uses: actions/deploy-pages@v4 |
Instead, bump the version of actions/upload-pages-artifact
on line 60.
This is followup to #311 Per https://github.com/actions/upload-pages-artifact/releases/tag/v3.0.0 `actions/upload-pages-artifact@3` requires `actions/deploy-pages@v4`
This is followup to #311 Per https://github.com/actions/upload-pages-artifact/releases/tag/v3.0.0 `actions/upload-pages-artifact@3` requires `actions/deploy-pages@v4`
The last docs update failed with:
https://github.com/pantsbuild/pantsbuild.org/actions/runs/12934911051/job/36077004632
This is presumably from a transitive dependency from
deploy-pages@v2
to the deprecated action.