-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #10 from steno-aarhus/create-website
Start of the basic infrastructure to make a website
- Loading branch information
Showing
5 changed files
with
81 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
*.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
name: build-deploy | ||
|
||
jobs: | ||
build-deploy: | ||
runs-on: ubuntu-latest | ||
env: | ||
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} | ||
steps: | ||
- name: Check out repository | ||
uses: actions/checkout@v2 | ||
|
||
- name: Setup R | ||
uses: r-lib/actions/setup-r@v2 | ||
with: | ||
use-public-rspm: true | ||
|
||
- name: Install dependencies | ||
uses: r-lib/actions/setup-r-dependencies@v2 | ||
with: | ||
cache-version: 2 | ||
|
||
- name: Set up Quarto | ||
uses: quarto-dev/quarto-actions/setup@v2 | ||
with: | ||
tinytex: false | ||
|
||
- name: Publish to GitHub Pages (and render) | ||
uses: quarto-dev/quarto-actions/publish@v2 | ||
with: | ||
target: gh-pages |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,6 @@ | |
.Rhistory | ||
.RData | ||
.Ruserdata | ||
|
||
/.quarto/ | ||
_site |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
project: | ||
type: website | ||
|
||
website: | ||
title: "SDCA Epi Stats" | ||
site-url: "https://steno-aarhus.github.io/epi-stats/" | ||
repo-url: "https://github.com/steno-aarhus/epi-stats" | ||
repo-branch: main | ||
repo-actions: [edit, issue, source] | ||
search: | ||
location: navbar | ||
type: overlay | ||
navbar: | ||
pinned: true | ||
tools: | ||
- icon: github | ||
href: "https://github.com/steno-aarhus/epi-stats" | ||
page-footer: | ||
center: | ||
- text: "License: CC BY 4.0" | ||
href: LICENSE.md | ||
|
||
reference-location: margin | ||
title-block-banner: images/banner.png | ||
|
||
format: | ||
html: | ||
toc: true | ||
df-print: tibble | ||
code-overflow: scroll | ||
from: markdown+emoji | ||
code-link: true | ||
theme: litera | ||
|
||
editor_options: | ||
markdown: | ||
wrap: 72 | ||
canonical: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
--- | ||
title: Steno Aarhus Epidemiology and Statistics | ||
--- | ||
|