Closed gerteck closed 3 months ago
Additionally, perhaps changing the branch default master
to the default main
too could be a low hanging fruit.
It looks like I cannot deploy sites with CLI commands either. I will look into this as well.
Hi @gerteck ,
Thank you for finding out this issue! Indeed they are some gaps in the documentation.
I tried your solution and it worked great! It should be able to help users onboard MarkBind smoother.
But I some how need to manually select deploy from branch
to have the markbind site deployed. There was no error from the CI-run log. Maybe this is related to #2547 and gh-pages error?
Anyway, you can submit a Pull Request for your findings and earn credits. The change from master
to main
looks appropriate to me as well.
Thank you for your work!
Please confirm that you have searched existing issues in the repo
Yes, I have searched the existing issues
Any related issues?
No response
Tell us about your environment
Windows 11
MarkBind version
5.5.2
Describe the bug and the steps to reproduce it
While exploring MarkBind as a User, I was following the UG to deploy via GitHub Actions to deploy my site on GitHub Pages for a newly set up repository. As the workflow permissions default to read-only (Settings>Actions>General), github-actions is not able to write to
gh-pages
.Steps to reproduce
Bug/Nit description
Default GitHub Token Permissions:
Error 403 Forbidden:
Proposed changes to UG:
Additionally, workflow reports success when the deployment can be considered to be erroneous, which has been raised in #1863.
While I don't think it is a big bug, perhaps a nit, but I think it would help to improve the onboarding process and make it easier for users to get started with MarkBind until they are more familiar configuring their own workflow.
Expected behavior
Deployment on github pages success:
Anything else?
No response