Skip to content

Commit 06663aa

Browse files
committed
Add more documentation on the action deploy
1 parent 14c636b commit 06663aa

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/build-and-deploy-shinylive-r-app.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,25 +13,30 @@ jobs:
1313
# Only restrict concurrency for non-PR jobs
1414
concurrency:
1515
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
1618
permissions:
1719
contents: read
1820
pages: write
1921
id-token: write
2022
steps:
23+
# Obtain the contents of the repository
2124
- name: "Check out repository"
2225
uses: actions/checkout@v4
2326

27+
# Install R on the GitHub Actions worker
2428
- name: "Setup R"
2529
uses: r-lib/actions/setup-r@v2
2630

27-
# Pinned shinylive dependency
31+
# Install and pin the shinylive R package dependency
2832
- name: "Setup R dependency for Shinylive App export"
2933
uses: r-lib/actions/setup-r-dependencies@v2
3034
with:
3135
packages:
3236
cran::shinylive@0.1.1
3337

3438
# Export the current working directory as the shiny app
39+
# using the pinned version of the Shinylive R package
3540
- name: Create Shinylive App from working directory files
3641
shell: Rscript {0}
3742
run: |

0 commit comments

Comments
 (0)