File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -13,25 +13,30 @@ jobs:
13
13
# Only restrict concurrency for non-PR jobs
14
14
concurrency :
15
15
group : r-shinylive-website-${{ github.event_name != 'pull_request' || github.run_id }}
16
+ # Describe the permissions for obtain repository contents and
17
+ # deploying a GitHub pages website for the repository
16
18
permissions :
17
19
contents : read
18
20
pages : write
19
21
id-token : write
20
22
steps :
23
+ # Obtain the contents of the repository
21
24
- name : " Check out repository"
22
25
uses : actions/checkout@v4
23
26
27
+ # Install R on the GitHub Actions worker
24
28
- name : " Setup R"
25
29
uses : r-lib/actions/setup-r@v2
26
30
27
- # Pinned shinylive dependency
31
+ # Install and pin the shinylive R package dependency
28
32
- name : " Setup R dependency for Shinylive App export"
29
33
uses : r-lib/actions/setup-r-dependencies@v2
30
34
with :
31
35
packages :
32
36
cran::shinylive@0.1.1
33
37
34
38
# Export the current working directory as the shiny app
39
+ # using the pinned version of the Shinylive R package
35
40
- name : Create Shinylive App from working directory files
36
41
shell : Rscript {0}
37
42
run : |
You can’t perform that action at this time.
0 commit comments