Skip to content

Commit

Permalink
2
Browse files Browse the repository at this point in the history
  • Loading branch information
belinskyc committed Oct 29, 2024
1 parent 438536a commit f2d9dc9
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 0 deletions.
1 change: 1 addition & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
^\.github$
1 change: 1 addition & 0 deletions .github/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.html
23 changes: 23 additions & 0 deletions .github/workflows/deploy-app.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Workflow derived from https://github.com/posit-dev/r-shinylive/tree/actions-v1/examples
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
#
# Basic example of a GitHub Actions workflow that builds a Shiny app and deploys
# it to GitHub Pages.
name: Deploy app to gh-pages

on:
# Manually trigger the workflow
workflow_dispatch:
# Trigger on push to `main` branch
push:
branches: ["main"]
# Trigger on pull request to all branches (but do not deploy to gh-pages)
pull_request:

jobs:
shinylive:
uses: posit-dev/r-shinylive/.github/workflows/deploy-app.yaml@actions-v1
# Grant GITHUB_TOKEN the permissions required to make a Pages deployment
permissions:
pages: write # to deploy to Pages
id-token: write # to verify the deployment originates from an appropriate source

0 comments on commit f2d9dc9

Please sign in to comment.