Skip to content

Commit

Permalink
Output dir is set in _quarto.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jteijema committed Aug 26, 2024
1 parent c91f1bc commit a6c653f
Showing 1 changed file with 27 additions and 38 deletions.
65 changes: 27 additions & 38 deletions _quarto.yml
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

0 comments on commit a6c653f

Please sign in to comment.