Add CI/CD workflow to Azimuth ASCT+B generation
Closed this issue · 1 comments
bherr2 commented
Setup a GitHub Actions CI/CD workflow so that each time a commit is made to main, you will:
- Setup R and dependencies needed for the workflow
- Run the script to generate the CSVs
- Push the CSVs to gh-pages / GitHub Pages
From there we'll be able to reference / load the CSVs into ASCT+B Reporter easily once we get support for loading CSVs from URLs vs just Google Sheets. We need that feature to support the DOI'd data anyway.
You probably need to use this GitHub Action: https://github.com/r-lib/actions/tree/master/setup-r
There is a more complicated version of what I'm talking about here: https://blog--simonpcouch.netlify.app/blog/r-github-actions-commit/
bherr2 commented
I think it can probably be optimized further, but otherwise looks good. Thanks!