Skip to content

Commit

Permalink
update to quarto template; fix #41
Browse files Browse the repository at this point in the history
  • Loading branch information
tavareshugo committed Jan 10, 2024
1 parent d7f666b commit 0b9f17f
Show file tree
Hide file tree
Showing 167 changed files with 9,143 additions and 5,873 deletions.
1 change: 0 additions & 1 deletion .github/.gitignore

This file was deleted.

43 changes: 0 additions & 43 deletions .github/workflows/build_site.yaml

This file was deleted.

38 changes: 38 additions & 0 deletions .github/workflows/publish_site.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
on:
push:
branches:
- main
- master

name: Render & Publish Site

jobs:
build-deploy:
runs-on: ubuntu-latest

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

steps:
- name: Check out repository
uses: actions/checkout@v2

- name: Set up Quarto
uses: quarto-dev/quarto-actions/setup@v2
with:
version: 1.3.450

- name: Render Site
run: |
quarto render
- name: No Jekyll
run: |
touch _site/.nojekyll
- name: Publish
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: _site
single-commit: true
31 changes: 19 additions & 12 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,16 +1,23 @@
# directories we often use
slides
notes
course_materials
prepare_data

# local site rendering is not pushed
# Quarto files
/.quarto/
_site

# in case RStudio is used for editing/building site
# python notebooks
*.ipynb

# R files
.Rhistory
.Rproj.user
.Rbuildignore
.Rapp.history
.RData
.RDataTmp
.Ruserdata
.Rproj.user/
*_cache/
/cache/
*.utf8.md
*.knit.md
.Renviron

# VS Code workspace file
*.code-workspace
# Jupyter cache
.jupyter_cache
/.luarc.json
Loading

0 comments on commit 0b9f17f

Please sign in to comment.