Skip to content

Add URL to Hernán & Robins bibliography entry #50

Add URL to Hernán & Robins bibliography entry

Add URL to Hernán & Robins bibliography entry #50

Workflow file for this run

name: Quarto Preview
on:
pull_request:
types:
- opened
- reopened
- synchronize
- closed
paths:
- 'chapters/**'
- '_quarto.yml'
- '_quarto-*.yml'
- '.github/workflows/preview.yml'
- '.github/workflows/publish.yml'
- '*.qmd'
- '*.css'
- 'references.bib'
concurrency: preview-${{ github.ref }}
jobs:
build-deploy:
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Set up Quarto
uses: quarto-dev/quarto-actions/setup@v2
with:
tinytex: true
- uses: r-lib/actions/setup-r@v2
with:
use-public-rspm: true
- uses: r-lib/actions/setup-renv@v2
with:
cache-version: 1
- name: Render
if: github.event.action != 'closed' # skip the build if the PR has been closed
uses: quarto-dev/quarto-actions/render@v2
- name: list files
shell: bash
run: |
echo "contents of _site:"
ls _site/ || echo "_site directory not found"
echo "contents of .:"
ls .
- name: Deploy PR Preview
uses: rossjrw/pr-preview-action@main
with:
source-dir: _site/
pages-base-url: scaling-robot-wry3qok.pages.github.io