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

next.js 14 starter workflow wrong #2258

Open
niklasp opened this issue Dec 15, 2023 · 2 comments
Open

next.js 14 starter workflow wrong #2258

niklasp opened this issue Dec 15, 2023 · 2 comments
Labels
pages Related to workflows that show on the GitHub Pages settings page

Comments

@niklasp
Copy link

niklasp commented Dec 15, 2023

the current next.yml errors with next 14, has someone found a workaround?

@JamesMGreene JamesMGreene added the pages Related to workflows that show on the GitHub Pages settings page label Jan 12, 2024
@dninomiya
Copy link

If it is next.config.mjs, change it to next.config.js and update the contents. That solved my case.

sample

tomato3713 added a commit to tomato3713/kurita that referenced this issue Mar 7, 2024
@codeaid
Copy link

codeaid commented Apr 28, 2024

Solution by @dninomiya worked! I spent almost 3 hours after I copy/pasted the workflow file from one project to another mostly identical project being unable to deploy to GitHub pages. Turns out this action does not process the .mjs file correctly. Thanks for posting your reply!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pages Related to workflows that show on the GitHub Pages settings page
Projects
None yet
Development

No branches or pull requests

4 participants