File tree Expand file tree Collapse file tree 1 file changed +19
-12
lines changed Expand file tree Collapse file tree 1 file changed +19
-12
lines changed Original file line number Diff line number Diff line change 7
7
# Or when triggered manually
8
8
workflow_dispatch : {}
9
9
10
- name : Build and deploy wasm R package repository
10
+ name : Build WASM R package and Repo
11
11
12
12
jobs :
13
- # Reads `./packages` for package references to put
14
- # into a CRAN-like repository hosted on GitHub pages
15
13
deploy-cran-repo :
16
- uses : r-wasm/actions/.github/workflows/deploy-cran-repo.yml@v1
17
- permissions :
18
- # To download GitHub Packages within action
19
- repository-projects : read
20
- # For publishing to pages environment
21
- pages : write
22
- id-token : write
23
- with :
24
- packages : " ."
14
+ runs-on : ubuntu-latest
15
+ steps :
16
+ - name : Checkout repository
17
+ uses : actions/checkout@v4
18
+
19
+ - name : Build WASM R packages
20
+ uses : r-wasm/actions/build-rwasm@v1
21
+ with :
22
+ packages : " ."
23
+ repo-path : " _site"
24
+
25
+ - name : Deploy wasm R packages to GitHub pages 🚀
26
+ if : github.event_name != 'pull_request'
27
+ uses : JamesIves/github-pages-deploy-action@v4.4.1
28
+ with :
29
+ clean : false
30
+ branch : gh-pages
31
+ folder : _site
You can’t perform that action at this time.
0 commit comments