File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99
1010jobs :
1111 build-deploy :
12+ if : " !contains(github.event.head_commit.message, '[skip ci]')"
1213 runs-on : ubuntu-latest
1314 steps :
1415 - name : Check out repository
1516 uses : actions/checkout@v4
1617
17- # This action sets up R and caches packages based on your DESCRIPTION file
18+ # THIS IS THE MISSING STEP: Installs R itself
19+ - name : Set up R
20+ uses : r-lib/actions/setup-r@v2
21+ with :
22+ r-version : ' 4.5.0' # Or a specific version like '4.3.1'
23+
24+ # Now this step will work because Rscript is available
1825 - name : Set up R and cache dependencies
1926 uses : r-lib/actions/setup-r-dependencies@v2
2027 with :
21- packages : any::local # The 'any::local' tells it to look for the DESCRIPTION file
28+ packages : any::local
2229
23- # Your script to rebuild the RDS files in the 'tables' directory
2430 - name : Run data build script
2531 run : Rscript build_data_ehm_site.R
2632
27- # The magic step: render and deploy the site
2833 - name : Render and Deploy
2934 uses : quarto-dev/quarto-actions/publish@v2
3035 with :
31- target : gh-pages # Deploys to the gh-pages branch
36+ target : gh-pages
3237 env :
3338 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments