Enhance iframe styling and prevent scrollbars in interactive HTML plot #153
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
| # Workflow derived from https://github.com/r-lib/actions/tree/master/examples | |
| # Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help | |
| on: | |
| push: | |
| branches: [main, master] | |
| tags: ['*'] | |
| release: | |
| types: [published] | |
| name: rostemplate-gh-pages | |
| permissions: write-all | |
| jobs: | |
| rostemplate-gh-pages: | |
| runs-on: ubuntu-latest | |
| env: | |
| GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: r-lib/actions/setup-pandoc@v2 | |
| - uses: r-lib/actions/setup-r@v2 | |
| with: | |
| use-public-rspm: true | |
| - uses: r-lib/actions/setup-r-dependencies@v2 | |
| with: | |
| extra-packages: | |
| local::. | |
| any::pkgdown | |
| ropenspain/rostemplate | |
| needs: website | |
| - name: Create Google Search Console verification file | |
| run: | | |
| mkdir -p pkgdown/assets | |
| echo -n "google-site-verification: google791d291f91311a84.html" > pkgdown/assets/google791d291f91311a84.html | |
| - name: Deploy package | |
| run: | | |
| git config --local user.name "github-actions[bot]" | |
| git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com" | |
| Rscript -e 'pkgdown::deploy_to_branch(new_process = FALSE, clean = TRUE)' |