Skip to content

Commit

Permalink
innitial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewpbray committed Jan 27, 2024
1 parent 73ff3b8 commit bc1e414
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/render-via-script.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
on:
workflow_dispatch:

name: "Render via Script"
jobs:
publish:
runs-on: ubuntu-latest
steps:
# for accessing this repo's assets in the container
- name: Check out the repo
uses: actions/checkout@v3
# run the container, attaching this repo as a working directory
- name: Run the build process with Docker
uses: addnab/docker-run-action@v3
with:
image: stat20/stat20-docker:latest
options: -v ${{ github.workspace }}:/home/rstudio/quarto-class-website
shell: bash
run: |
# exit if any command returns non-zero exit
set -e
# execute from the textbook
cd /home/rstudio/quarto-class-website/
# render via script
quarto run partial-render.ts
# direct render
# quarto render --profile partial-render

0 comments on commit bc1e414

Please sign in to comment.