File tree Expand file tree Collapse file tree 3 files changed +31
-0
lines changed Expand file tree Collapse file tree 3 files changed +31
-0
lines changed Original file line number Diff line number Diff line change
1
+ FROM ghcr.io/analythium/actions:latest
2
+ COPY entrypoint.sh /entrypoint.sh
3
+ ENTRYPOINT ["/entrypoint.sh" ]
Original file line number Diff line number Diff line change
1
+ name : ' Analythium Actions: Build pkgdown site'
2
+ description : ' Check an R package'
3
+ author : ' Analythium'
4
+ inputs :
5
+ who-to-greet : # id of input
6
+ description : ' Who to greet'
7
+ required : true
8
+ default : ' World'
9
+ outputs :
10
+ time : # id of output
11
+ description : ' The time we greeted you'
12
+ runs :
13
+ using : ' docker'
14
+ image : ' Dockerfile'
15
+ args :
16
+ - ${{ inputs.who-to-greet }}
Original file line number Diff line number Diff line change
1
+ #! /bin/sh -l
2
+
3
+ # Dont forget <https://docs.github.com/en/actions/creating-actions/creating-a-docker-container-action>
4
+ # $ git add entrypoint.sh
5
+ # $ git update-index --chmod=+x entrypoint.sh
6
+
7
+ echo " \n***\nTHIS IS USING THE PKGDOWN DIR\n***\n"
8
+
9
+ deps-cli all
10
+ Rscript -e ' devtools::check()'
11
+ echo " \n***\n---PKGDOWN---\n***\n"
12
+ Rscript -e ' pkgdown::build_site_github_pages(install=TRUE)'
You can’t perform that action at this time.
0 commit comments