Skip to content

Commit

Permalink
automate website build
Browse files Browse the repository at this point in the history
Co-authored-by: Will Landau <[email protected]>
  • Loading branch information
shikokuchuo and wlandau committed Mar 10, 2024
1 parent 43be59d commit 48f08ef
Show file tree
Hide file tree
Showing 26 changed files with 39 additions and 6,984 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/render.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
on:
push:
branches: main

name: render

jobs:
render:
runs-on: ubuntu-latest

env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}

steps:
- uses: actions/checkout@v4
- uses: r-lib/actions/setup-r@v2
- uses: r-lib/actions/setup-pandoc@v2
- uses: quarto-dev/quarto-actions/[email protected]

- name: Cache results
uses: actions/cache@v2
with:
path: |
docs
_freeze
key: site-render-${{ hashFiles('**/*qmd') }}
restore-keys: site-render-

- name: Render
run: quarto render

- name: Deploy to GitHub pages
if: github.event_name != 'pull_request'
uses: JamesIves/[email protected]
with:
clean: false
branch: gh-pages
folder: docs
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/.quarto/
.Rproj.user
.Rhistory
docs
423 changes: 0 additions & 423 deletions docs/about.html

This file was deleted.

489 changes: 0 additions & 489 deletions docs/contributors.html

This file was deleted.

Loading

0 comments on commit 48f08ef

Please sign in to comment.