-
-
Notifications
You must be signed in to change notification settings - Fork 1
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
Add necessary files #3
base: main
Are you sure you want to change the base?
Conversation
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.
I wonder if it wouldn’t be easier to build the gh-pages from GitHub Actions instead of setting it up in Circle CI?
Once I brought it from another style-guide repository, I thought that improvements could be made later, so I copied it once. OK, I will rewrite it in GHA. |
Tested in another repository: The following commits were pushed: |
The other mechanism (the only one I've used before) is to (force)push to gh-pages branch. The advantage of this is that if for some reason some manual (emergency) tweaks are required they can be done. If this mechanism (pushing to $GITHUB_REF, which I think will be main?) runs when there's a push to main and also pushes to main, it may be that we can't do any manual changes (will github not get stuck in a loop of github actions?) Sorry I'm a gh actions newbie so I might be on the wrong track |
This PR prepared the necessary files with reference to https://github.com/rubocop/ruby-style-guide .