Removed GITHUB_PAT environment variable from link checker workflow #34
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
| name: deploy | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: | |
| - main | |
| permissions: | |
| contents: read | |
| pages: write | |
| id-token: write | |
| concurrency: | |
| group: "pages" | |
| cancel-in-progress: true | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out repo | |
| uses: actions/checkout@v4 | |
| - name: Setup R | |
| uses: r-lib/actions/setup-r@v2 | |
| - name: Install packages | |
| uses: r-lib/actions/setup-r-dependencies@v2 | |
| with: | |
| install-quarto: false | |
| cache: always | |
| packages: | | |
| any::dplyr | |
| any::tidyr | |
| any::stringr | |
| any::htmlTable | |
| any::kableExtra | |
| any::formattable | |
| any::DT | |
| any::gt | |
| any::reactable | |
| any::ggplot2 | |
| any::highcharter | |
| any::plotly | |
| any::ggiraph | |
| any::dygraphs | |
| any::networkD3 | |
| any::leaflet | |
| any::crosstalk | |
| any::fontawesome | |
| any::knitr | |
| - name: Setup quarto | |
| uses: quarto-dev/quarto-actions/setup@v2 | |
| with: | |
| version: 1.8.27 | |
| tinytex: true | |
| - run: quarto --version | |
| - run: quarto add --no-prompt quarto-ext/fontawesome | |
| - run: quarto add --no-prompt royfrancis/quarto-reveal-logo | |
| - run: quarto render | |
| - name: Configure Github Pages | |
| uses: actions/configure-pages@v5 | |
| - name: Upload artifact | |
| uses: actions/upload-pages-artifact@v3 | |
| with: | |
| path: 'docs' | |
| - name: Deploy to GitHub Pages | |
| id: deployment | |
| uses: actions/deploy-pages@v4 |