Skip to content
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

GitHub actions for gh-pages failed due to out of date versions #919

Open
toddkummer opened this issue Sep 27, 2024 · 0 comments
Open

GitHub actions for gh-pages failed due to out of date versions #919

toddkummer opened this issue Sep 27, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@toddkummer
Copy link

I added the gh-pages configuration to my repo with the following:
bin/bridgetown configure gh-pages

The resulting action failed with the following error:

The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/

The issue appears to be that the actions in use (checkout, setup-node, upload-pages-artifact, and deploy-pages) were not using the latest versions.

Bridgetown Version:
bridgetown 1.3.4 "Kelly Butte"

To Reproduce
Add the gh-pages configuration to a bridgetown repo. Push to github on main / merge to main to kick off the action.

Current behavior
See error and link to failed action above.

Expected behavior
The github action completes successfully.

Screenshots
image

Computing environment (please complete the following information):

  • OS: MacOS Sequoia 15.0
  • Browser: Firefox
  • Browser Version: 130.0.1
  • Ruby Version: 3.3.5

Additional context
Updating each action to the latest version resolved the issue for me.

I am using an organizational repo (though I don't think that is relevant).

@toddkummer toddkummer added the bug Something isn't working label Sep 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant