Skip to content

Commit

Permalink
Using simplified publish workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
zackbatist committed Dec 18, 2024
1 parent 48e0823 commit 1d886fa
Showing 1 changed file with 21 additions and 58 deletions.
79 changes: 21 additions & 58 deletions _quarto.yml
Original file line number Diff line number Diff line change
@@ -1,62 +1,25 @@
project:
type: website
on:
workflow_dispatch:
push:
branches: main

website:
title: "CITF-Postdoc"
site-url: "https://zackbatist.info/CITF-Postdoc/"
repo-url: "https://github.com/zackbatist/CITF-Postdoc"
repo-actions: [source]
bread-crumbs: true
page-navigation: false
favicon: images/favicon.ico
page-footer:
right: "This page is built with ❤️ and [Quarto](https://quarto.org/)."
left:
- text: "CC0"
href: https://creativecommons.org/publicdomain/zero/1.0/
name: Quarto Publish

sidebar:
logo: "images/logo.png"
pinned: true
align: center
style: "docked"
search: true
collapse-level: 2
contents:
- href: index.qmd
text: Home
- href: context.qmd
text: Context
- href: glossary.qmd
text: Glossary
- section: "Project Documentation"
contents:
- project-documentation/research-protocol.qmd
- project-documentation/ethics-protocol.qmd
- project-documentation/interview-protocol.qmd
- project-documentation/coding-protocol.qmd
- project-documentation/data-management.qmd
- project-documentation/cases.qmd
- posts.qmd
- section: Resources
contents:
- href: https://github.com/zackbatist/CITF-Postdoc
text: GitHub
- href: https://www.zotero.org/groups/5803066/citf-postdoc/library
text: Zotero
- href: posts.xml
text: RSS
jobs:
build-deploy:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Check out repository
uses: actions/checkout@v4

format:
html:
theme: cosmo
code-copy: true
code-overflow: wrap
toc: true
- name: Set up Quarto
uses: quarto-dev/quarto-actions/setup@v2

filters:
- include-files.lua
- quarto

execute:
freeze: auto
- name: Render and Publish
uses: quarto-dev/quarto-actions/publish@v2
with:
target: gh-pages
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 1d886fa

Please sign in to comment.