Update llms.qmd #58
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: Build the website | |
| # The workflow is executed every time there is a push to the main branch | |
| on: | |
| push: | |
| branches: | |
| - main | |
| workflow_dispatch: | |
| # These are the jobs to be completed (there is only one job actually) | |
| jobs: | |
| # Job 1 | |
| publish: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write | |
| # Here are the different steps of Job 1 | |
| steps: | |
| # Step 1: Checkout the repository | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| # Step 2: Set up Quarto | |
| - name: Set up quarto | |
| uses: quarto-dev/quarto-actions/setup@v2 | |
| # Step 3: Install R | |
| - name: Set up R | |
| uses: r-lib/actions/setup-r@v2 | |
| # Step 4: Install R dependencies | |
| - name: Install R dependencies using renv | |
| uses: r-lib/actions/setup-renv@v2 | |
| # Step 5: Publish website | |
| - name: Publish to GitHub Pages (and render) | |
| uses: quarto-dev/quarto-actions/publish@v2 | |
| with: | |
| target: gh-pages |