Skip to content

Commit

Permalink
add Build and deploy wasm R package repository workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
annakrystalli committed Jun 4, 2024
1 parent b264c49 commit 7079d9e
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/deploy-cran-repo.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Workflow derived from https://github.com/r-wasm/actions/tree/v1/examples
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
on:
push:
# Only build on main or master branch
branches: [main, master, test-webr]
# Or when triggered manually
workflow_dispatch: {}

name: Build and deploy wasm R package repository

jobs:
# Reads `./packages` for package references to put
# into a CRAN-like repository hosted on GitHub pages
deploy-cran-repo:
uses: r-wasm/actions/.github/workflows/deploy-cran-repo.yml@v1
with:
packages: any::arrow
permissions:
# To download GitHub Packages within action
repository-projects: read
# For publishing to pages environment
pages: write
id-token: write

0 comments on commit 7079d9e

Please sign in to comment.