-
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
27 additions
and
38 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 |
---|---|---|
@@ -1,43 +1,32 @@ | ||
project: | ||
type: website | ||
output-dir: docs | ||
name: Build Quarto Document | ||
|
||
website: | ||
title: "Asreview Academy" | ||
favicon: "docs/images/ASReviewLAB/Elas_afstudeerhoedje.png" | ||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
branches: | ||
- main | ||
|
||
sidebar: | ||
background: "#FDCB25" #5287C6 | ||
logo: "docs/images/ASReviewLAB/Elas_afstudeerhoedje.png" | ||
pinned: true | ||
align: left | ||
tools: | ||
- icon: github | ||
href: https://github.com/asreview/asreview-academy/ | ||
text: "GitHub organization" | ||
style: "docked" | ||
search: true | ||
collapse-level: 1 | ||
contents: | ||
- href: index.qmd | ||
text: Home | ||
# - href: about.qmd | ||
# text: About | ||
- section: "Introduction Courses" | ||
contents: | ||
- href: ASReviewLAB.qmd | ||
text: ASReview LAB | ||
- href: datatools.qmd | ||
text: Datatools | ||
- href: simulation.qmd | ||
text: Simulation Mode | ||
|
||
|
||
format: | ||
html: | ||
theme: cosmo | ||
css: styles.css | ||
toc: true | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Set up Quarto | ||
uses: quarto-dev/quarto-actions/setup@v2 | ||
|
||
- name: Render Quarto documents | ||
run: | | ||
quarto render | ||
- name: Commit and push changes | ||
run: | | ||
git config --global user.name "github-actions[bot]" | ||
git config --global user.email "github-actions[bot]@users.noreply.github.com" | ||
git add docs/ | ||
git commit -m "Build HTML Files (GitHub Action)" | ||
git push |