Redeploy shinyapps.io #1
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |