You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.qmd
+21-19Lines changed: 21 additions & 19 deletions
Original file line number
Diff line number
Diff line change
@@ -13,11 +13,12 @@ engine: knitr
13
13
## Introduction
14
14
15
15
Welcome to this tutorial on combining compiling an R package for [webR](https://docs.r-wasm.org/webr/latest/) and creating
16
-
a `{pkgdown}` website using GitHub Actions. In this guide, you will find sample
17
-
GitHub Action workflows designed to generate developmental webR/R WASM Package
18
-
binaries alongside a `{pkgdown}` website. If you're eager to streamline the
19
-
process of building and deploying your R packages for webR while also creating
20
-
a `{pkgdown}` website, you've come to the right place.
16
+
a `{pkgdown}` website using GitHub Actions. In this guide, you will find a sample
17
+
GitHub Action workflow designed to generate in one workflow both
18
+
developmental webR/R WASM Package binaries alongside a `{pkgdown}` website.
19
+
If you're eager to streamline the process of building and deploying your R
20
+
packages for webR while also creating a `{pkgdown}` website, you've come to the
21
+
right place.
21
22
22
23
This repository is part of a series exploring three different approaches:
23
24
@@ -46,7 +47,10 @@ This repository is part of a series exploring three different approaches:
46
47
provides a transparent view of the deployed content. Explore this repository
47
48
to understand how this approach can streamline your R package deployment workflow.
48
49
49
-
# Overview
50
+
Another approach would be to use [r-universe.dev](https://ropensci.org/blog/2023/11/17/runiverse-wasm/)
51
+
to automatically build and supply R WASM package binaries.
52
+
53
+
## Key Contents
50
54
51
55
Interested in having your R package automatically be built for [webR](https://docs.r-wasm.org/webr/latest/) alongside a `{pkgdown}` website using a [GitHub Action](https://github.com/features/actions) that deploys with an **artifact** instead of a `gh-pages` branch?
52
56
If so, this is the repository for you! Here's a summary of what you can find in the repository:
@@ -149,14 +153,19 @@ onto GitHub Pages through an artifact. The artifacts are stored for 90 days
149
153
(by default) and can be found under the workflow summary:
150
154
151
155
1. Click on the **Actions** tab for the repository
152
-
2. Select a completed build
153
-
3. Press the **Summary** option
154
-
4. Under "Artifacts", click on **github-pages** to download the built repository
156
+
2. Under "All workflows", select a the **R WASM & {pkgdown} deploy**
157
+
3. Choose a completed workflow run
158
+
159
+

0 commit comments