Replies: 2 comments 2 replies
-
You can easily disable this in the GitHub workflow with something like |
Beta Was this translation helpful? Give feedback.
-
I am not sure how relevant deployment from the own fork is. I feel many (including myself) preview locally if necessary, but I could be wrong. Moving on from Jekyll 3.9 will solve a dependency issue for many, but is then incompatible with a lot of existing GH page specific workflows, which people also might use locally. |
Beta Was this translation helpful? Give feedback.
-
This has surfaced already multiple times, the use of GitHub actions for deployment instead of GitHub Pages, and at this moment it is more appealing then ever. I would like to use this discussion to show how currently RDMkit is deployed, and how it could be using GitHub actions, discussing the pro and cons.
Using GitHub Pages.
Currently, if you want to deploy RDMkit, me as a maintainer or you at your fork, you just have to go to the Pages setting, select "deploy from branch", choose the branch you want to deploy from, and call it a day.
This simplicity is the reason why I kept holding on to the Pages way of deploying for so long.
GitHub Pages does come with some downsides too
Using GitHub actions
This was in the past not an option for me since it required the use of a separate deployment branch and was less convenient to setup. Things have changed now , for the better. Thus it seems appropriate to give it another chance.
Within the repository pages settings, one can now select GitHub Actions for deployment.
Setting this up for RDMkit is very easy and for the end-user things would look exactly the same. Differences are there when people want to preview their changes on their own fork.
if Actions are enabled on the fork, the other workflows will run too. This includes the weekly TeSS, bio.tools and FAIRsharing check which needs credentials using GitHub secrets. When those secrets are not set, a weekly GitHub Action fails will be triggered.These are only annoyances for people previewing on their own fork, and quite honestly I think me, Flora and Martin are one of the few making use of this feature.
The benefits
Considerations
Beta Was this translation helpful? Give feedback.
All reactions