Skip to content

Commit 448fa76

Browse files
More setup
1 parent 12581f5 commit 448fa76

File tree

8 files changed

+4431
-205
lines changed

8 files changed

+4431
-205
lines changed

.github/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*.html

.github/workflows/quarto.yaml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
on:
2+
push:
3+
branches: main
4+
5+
name: quarto build
6+
7+
permissions: write-all
8+
9+
jobs:
10+
build-deploy:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: ✅ Check out repository
14+
uses: actions/checkout@v4
15+
16+
- name: 🆀 Set up Quarto
17+
uses: quarto-dev/quarto-actions/setup@v2
18+
19+
- name: 🔧 Install R
20+
uses: r-lib/actions/setup-r@v2
21+
with:
22+
use-public-rspm: true
23+
r-version: 'renv'
24+
25+
- name: 🔁 Install system dependencies
26+
run: |
27+
sudo apt-get install libcurl4-openssl-dev
28+
sudo apt-get install libmagick++-dev
29+
sudo apt-get install libglpk-dev
30+
31+
- name: 🔁 Install R Dependencies
32+
uses: r-lib/actions/setup-renv@v2
33+
with:
34+
cache-version: 1
35+
36+
- name: 🚀 Publish to GitHub Pages (and render)
37+
uses: quarto-dev/quarto-actions/publish@v2
38+
with:
39+
target: gh-pages
40+
env:
41+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # this secret is always available for github actions

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,3 +47,8 @@ po/*~
4747

4848
# RStudio Connect folder
4949
rsconnect/
50+
51+
# Quarto components
52+
/.quarto/
53+
/_site/
54+
/_extensions/

.vscode/settings.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
{
2+
"[quarto]": {
3+
"editor.formatOnSave": true
4+
},
25
"[r]": {
36
"editor.formatOnSave": true,
47
"editor.defaultFormatter": "Posit.air-vscode"

_quarto.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
project:
2+
title: "My Website"
3+
type: website

ref/bib/refs.bib

Whitespace-only changes.

renv.lock

Lines changed: 4377 additions & 205 deletions
Large diffs are not rendered by default.

template.qmd

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ library(tidyverse)
2525
library(here)
2626
library(cowplot)
2727
library(ggrepel)
28+
library(ggtext)
2829
library(scales)
2930
3031
theme_set(theme_cowplot())

0 commit comments

Comments
 (0)