mirror of
https://github.com/jackyzha0/quartz.git
synced 2025-12-28 07:14:05 -06:00
Quartz sync: Aug 23, 2023, 8:00 PM
This commit is contained in:
parent
ce8f150883
commit
6da483c43e
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 = {
|
||||
configuration: {
|
||||
pageTitle: "🪴 Quartz 4.0",
|
||||
pageTitle: "🪴 be-far",
|
||||
enableSPA: true,
|
||||
enablePopovers: true,
|
||||
analytics: {
|
||||
provider: "plausible",
|
||||
},
|
||||
baseUrl: "quartz.jzhao.xyz",
|
||||
analytics: null,
|
||||
baseUrl: "be-far.com",
|
||||
ignorePatterns: ["private", "templates"],
|
||||
theme: {
|
||||
typography: {
|
||||
header: "Schibsted Grotesk",
|
||||
body: "Source Sans Pro",
|
||||
code: "IBM Plex Mono",
|
||||
header: "Overpass Mono",
|
||||
body: "Inter",
|
||||
code: "Fira Code",
|
||||
},
|
||||
colors: {
|
||||
lightMode: {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user