researchsoft / software-authorship-contribution

Repository for collaboration on software authorship definition and contribution roles aggregation
https://www.researchsoft.org/tf-authorship-contribution/
Other
5 stars 2 forks source link

Set up website auto-rendering via GitHub Actions #38

Closed Bisaloo closed 1 year ago

Bisaloo commented 1 year ago

Once this is merged and we have confirmed that the HTML document is properly sent to gh-pages:

SaranjeetKaur commented 1 year ago

Once this is merged and we have confirmed that the HTML document is properly sent to gh-pages:

  • repo settings should be updated to render site from the gh-pages branch rather than from main
  • index.html in main can be deleted

@sdruskat - could you please take a look at those settings whenever possible?

sdruskat commented 1 year ago

Thanks @SaranjeetKaur. I'm testing this just now, but the GH Deploy Plugin seems to fail atm (https://github.com/sdruskat/software-authorship/actions/runs/5001120923/jobs/8959395656). Looking into it.

sdruskat commented 1 year ago

@SaranjeetKaur This works now (had to set write permissions in the GH Actions workflow). Content is deployed to gh-pages and served from there.

SaranjeetKaur commented 1 year ago

Awesome! Thanks @sdruskat!