mirror of
https://github.com/jackyzha0/quartz.git
synced 2025-12-31 00:34:05 -06:00
Quartz sync: Aug 23, 2023, 8:00 PM
This commit is contained in:
parent
2e0e518f5d
commit
d19d913889
45
.github/workflows/deploy.yaml
vendored
Normal file
45
.github/workflows/deploy.yaml
vendored
Normal file
@ -0,0 +1,45 @@
|
|||||||
|
name: Deploy Quartz site to GitHub Pages
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- v4
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
pages: write
|
||||||
|
id-token: write
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: "pages"
|
||||||
|
cancel-in-progress: false
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-22.04
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
fetch-depth: 0 # Fetch all history for git info
|
||||||
|
- uses: actions/setup-node@v3
|
||||||
|
with:
|
||||||
|
node-version: 18.14
|
||||||
|
- name: Install Dependencies
|
||||||
|
run: npm ci
|
||||||
|
- name: Build Quartz
|
||||||
|
run: npx quartz build
|
||||||
|
- name: Upload artifact
|
||||||
|
uses: actions/upload-pages-artifact@v2
|
||||||
|
with:
|
||||||
|
path: public
|
||||||
|
|
||||||
|
deploy:
|
||||||
|
needs: build
|
||||||
|
environment:
|
||||||
|
name: github-pages
|
||||||
|
url: ${{ steps.deployment.outputs.page_url }}
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Deploy to GitHub Pages
|
||||||
|
id: deployment
|
||||||
|
uses: actions/deploy-pages@v2
|
||||||
5
content/index.md
Normal file
5
content/index.md
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
title: be-far's Digital Garden
|
||||||
|
---
|
||||||
|
# Welcome!
|
||||||
|
You're on a site called a [[what-is-a-garden|Digital Garden]]. Here's some info on [[why-i-garden|Why I Garden]].
|
||||||
4
content/what-is-a-garden.md
Normal file
4
content/what-is-a-garden.md
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
---
|
||||||
|
title: What is a Garden?
|
||||||
|
---
|
||||||
|
A Digital Garden is
|
||||||
3
content/why-i-garden.md
Normal file
3
content/why-i-garden.md
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
---
|
||||||
|
title: Why I Garden
|
||||||
|
---
|
||||||
@ -3,19 +3,17 @@ import * as Plugin from "./quartz/plugins"
|
|||||||
|
|
||||||
const config: QuartzConfig = {
|
const config: QuartzConfig = {
|
||||||
configuration: {
|
configuration: {
|
||||||
pageTitle: "🪴 Quartz 4.0",
|
pageTitle: "🪴 be-far",
|
||||||
enableSPA: true,
|
enableSPA: true,
|
||||||
enablePopovers: true,
|
enablePopovers: true,
|
||||||
analytics: {
|
analytics: null,
|
||||||
provider: "plausible",
|
baseUrl: "be-far.com",
|
||||||
},
|
|
||||||
baseUrl: "quartz.jzhao.xyz",
|
|
||||||
ignorePatterns: ["private", "templates"],
|
ignorePatterns: ["private", "templates"],
|
||||||
theme: {
|
theme: {
|
||||||
typography: {
|
typography: {
|
||||||
header: "Schibsted Grotesk",
|
header: "Overpass Mono",
|
||||||
body: "Source Sans Pro",
|
body: "Inter",
|
||||||
code: "IBM Plex Mono",
|
code: "Fira Code",
|
||||||
},
|
},
|
||||||
colors: {
|
colors: {
|
||||||
lightMode: {
|
lightMode: {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user