-
-
Notifications
You must be signed in to change notification settings - Fork 36
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
Deploying to GitHub Pages is problematic/flakey #56
Comments
And, of course, I may as well emphasize that this is a problem in my personal repo sites as well. My "hack" is to do a manual deploy to a non-default branch on GitHub and bypass Actions altogether. I hope this gets somebody's eyes on it at some point... |
Thanks for reporting this! I am going to transfer this issue to the actions repo itself, as it's something that should be addressed there, and then they can advise whether our documentation needs to change, or whether it's a bug for them to fix! |
Wondering if this can be closed, now that the docs already mention the correct version for the GitHub action? |
Probably? 😄 I'll close it, and someone is welcome to open another issue if they experience problems! |
📚 Subject area/topic
Deployment
📋 Page(s) affected (or suggested, for new content)
https://docs.astro.build/en/guides/deploy/github/
📋 Description of content that is out-of-date or incorrect
The problem probably lies with the recommended action
withastro/action@v2
. Still, I am reporting it here as I am uncertain of the maintenance/issue response time in withastro/action.The action appears to be "flakey". At least, I've found it so over the past couple of weeks, and various attempts at "adjusting" it according to the instructions have had mixed results. This is true on multiple sites that are running Astro and hosted on GitHub pages.
I'm concerned whether the action's internal dependencies are out of date; I think it's an effect of other "down-chain" dependencies in that action, so it maybe just needs more version bumps. I do notice a number of unaddressed PRs in that repo.
In any case, I keep getting:
Of course, the
pnpm/action-setup@v2
isn't in the YAML offered in your docs, but it seems to be getting triggered in the bowels ofwithastro/action@v2
Here is a sample of the output from the action running on my own blog. If you check my action history, it was working fine for a while but then started getting problems even though my deploy hadn't changed. I attempted "fixes", but once I thought it was stable, it broke on the next post.
🖥️ Reproduction in StackBlitz (if reporting incorrect content or code samples)
Not reproducible in StackBlitz because it is a deployment issue for the GitHub and GitHub Actions environment.
The text was updated successfully, but these errors were encountered: