Add KNN podcast appearance #28
This file contains 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 | |
env: | |
RENV_CONFIG_REPOS_OVERRIDE: https://packagemanager.rstudio.com/all/latest | |
RENV_PATHS_ROOT: ~/.local/share/renv | |
jobs: | |
build-site: | |
name: Render-Site | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: quarto-dev/quarto-actions/install-quarto@v1 | |
- run: | | |
quarto --version | |
- name: Render Site | |
run: | | |
quarto render . | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: _site | |
path: _site | |
checkout-and-deploy: | |
runs-on: ubuntu-latest | |
needs: build-site | |
steps: | |
- name: Checkout | |
uses: actions/checkout@master | |
- name: Download artifact | |
uses: actions/[email protected] | |
with: | |
# Artifact name | |
name: _site # optional | |
# Destination path | |
path: _site # optional | |
- name: Deploy to GitHub Pages | |
uses: Cecilapp/GitHub-Pages-deploy@master | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
email: [email protected] | |
build_dir: _site # defaults to _site |