Add absence names and items to data dictionary (#179) #111
This file contains hidden or 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
| on: | |
| push: | |
| branches: | |
| - main | |
| name: shinyapps.io deploy | |
| jobs: | |
| deployShiny: | |
| runs-on: ubuntu-latest | |
| env: | |
| GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: r-lib/actions/setup-r@v2 | |
| with: | |
| use-public-rspm: true | |
| r-version: 4.4.1 | |
| - name: Install git2r dependencies | |
| run: sudo apt-get install -y libgit2-dev | |
| - name: Install git2r | |
| shell: Rscript {0} | |
| run: | | |
| install.packages("git2r") | |
| - uses: r-lib/actions/setup-renv@v2 | |
| - name: Install rsconnect | |
| shell: Rscript {0} | |
| run: | | |
| if (!requireNamespace("renv", quietly = TRUE)) install.packages("renv") | |
| renv::install("rsconnect@0.8.29") | |
| - name: Push to shinyApps.io | |
| run: > | |
| Rscript | |
| -e "rsconnect::setAccountInfo(name = 'department-for-education', token = '${{secrets.SHINYAPPS_TOKEN}}', secret = '${{secrets.SHINYAPPS_SECRET}}')" | |
| -e "rsconnect::deployApp(forceUpdate=TRUE)" |