ReScience / rescience.github.io

ReScience website sources
rescience.github.io
Creative Commons Attribution Share Alike 4.0 International
36 stars 42 forks source link

NEW: adding GH action to auto-deploy website updates #112

Closed romain-jacob closed 2 years ago

romain-jacob commented 2 years ago

Hello there,

I am running another journal, JSys, for which I heavily reused the RescienceC website code. Thanks for having it open!

I just setup a github action for our website to auto-deploy the website updates (rather than having to run the publish.sh script).

Feel free to merge if you like the feature :-)

rougier commented 2 years ago

Wonderful ! I shoudl have done it a while ago...

rougier commented 2 years ago

Not really working so far. Can you check?

romain-jacob commented 2 years ago

It seems to be an issue with the building of the site by Jekyll. Does your site build fine locally?

rougier commented 2 years ago

Yes, but I've a bunch of gems and I think I froze ruby version because it breaks with newer version (just remember). The puslish.sh script has all the code.

romain-jacob commented 2 years ago

The frozen ruby version might be the source of the issue. I suppose one needs to tell the building action which version to use. I don't have time to look into this now though.

rougier commented 2 years ago

Ok. I'll check on my side and removed the action in the meantime. Thanks again for the PR.