more thumbnails #53
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: | |
| workflow_dispatch: | |
| push: | |
| branches: | |
| - main # run on every push to main | |
| name: Quarto Publish | |
| jobs: | |
| build-deploy: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write # allow the workflow to push to gh-pages | |
| steps: | |
| # 1 ▸ Check out your repository | |
| - name: Check out repository | |
| uses: actions/checkout@v3 | |
| # 2 ▸ Install R 4.4.x | |
| - name: Set up R | |
| uses: r-lib/actions/setup-r@v2 | |
| with: | |
| r-version: '4.4' # GitHub will pick the latest patch (currently 4.4.2) | |
| # 3 ▸ Install required R packages (CRAN) | |
| - name: Install R package dependencies | |
| uses: r-lib/actions/setup-r-dependencies@v2 | |
| with: | |
| needs: | | |
| tidyverse | |
| lubridate | |
| SimplyAgree | |
| DescTools | |
| fmsb | |
| scales | |
| janitor | |
| psych | |
| here | |
| irr | |
| magrittr | |
| flextable | |
| webexercises | |
| cache: true # uncomment to enable dependency caching | |
| # 4 ▸ Install Quarto | |
| - name: Set up Quarto | |
| uses: quarto-dev/quarto-actions/setup@v2 | |
| # with: | |
| # version: '1.5.48' # pin a specific Quarto version if desired | |
| # 5 ▸ Render the site and publish to gh-pages | |
| - name: Render and Publish | |
| uses: quarto-dev/quarto-actions/publish@v2 | |
| with: | |
| target: gh-pages | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |