Compare commits
34 Commits
1ed973da2e
...
1.8.0
| Author | SHA1 | Date | |
|---|---|---|---|
| 827d240c4c | |||
|
|
e75dd65eba | ||
| 7b931d639b | |||
|
|
8fb388b22a | ||
| e33e2c72af | |||
|
|
e6e763e6b7 | ||
| 41d984e603 | |||
|
|
7878893e5b | ||
| 3bb7219589 | |||
| 5c347ab685 | |||
|
|
4dd82b1676 | ||
| 1869be9a19 | |||
|
|
7621ff8fb0 | ||
| 3820922535 | |||
|
|
e37517047f | ||
| ac7e1c6b66 | |||
|
|
f3c8747d30 | ||
| 816708741f | |||
| e3370bded5 | |||
| 18529618ad | |||
| 577fa8b339 | |||
| 35641f8a60 | |||
| 2c1f5c3059 | |||
| a1f88b8bb4 | |||
| 59a23af308 | |||
| fc9d07751f | |||
| 88f3322305 | |||
| 9dcb31ca0b | |||
| 6731b23c2a | |||
| 3f7bfc6a60 | |||
| d347e3d97d | |||
| 7421a07837 | |||
| c5e46cef5c | |||
| bee02ef666 |
@@ -6,32 +6,29 @@ env:
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- v4
|
- 'main'
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
id-token: write
|
id-token: write
|
||||||
|
|
||||||
concurrency:
|
|
||||||
group: "pages"
|
|
||||||
cancel-in-progress: false
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
|
||||||
with:
|
|
||||||
fetch-depth: 0 # Fetch all history for git info
|
|
||||||
- uses: actions/setup-node@v4
|
- uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: 22
|
node-version: 24
|
||||||
- name: Install Dependencies
|
- uses: actions/checkout@v6
|
||||||
run: npm ci
|
id: get garden content
|
||||||
- name: Build Quartz
|
with:
|
||||||
run: npx quartz build
|
fetch-depth: 0 # Fetch all history for git info
|
||||||
- name: Read Current Version
|
path: content
|
||||||
|
- run: git config --global user.name "Build Pipeline"
|
||||||
|
- run: git config --global user.email "noreply@example.com"
|
||||||
|
- name: get current version
|
||||||
run: echo "::set-env name=CURRENT_VERSION::$(cat version.txt)"
|
run: echo "::set-env name=CURRENT_VERSION::$(cat version.txt)"
|
||||||
|
working-directory: content
|
||||||
- name: Increment Semantic Version
|
- name: Increment Semantic Version
|
||||||
uses: christian-draeger/increment-semantic-version@1.2.3
|
uses: christian-draeger/increment-semantic-version@1.2.3
|
||||||
id: bump_version
|
id: bump_version
|
||||||
@@ -39,13 +36,41 @@ jobs:
|
|||||||
current-version: ${{ env.CURRENT_VERSION }}
|
current-version: ${{ env.CURRENT_VERSION }}
|
||||||
version-fragment: ${{ env.VERSION_FRAGMENT }}
|
version-fragment: ${{ env.VERSION_FRAGMENT }}
|
||||||
- run: echo "${{ steps.bump_version.outputs.next-version }}" > version.txt
|
- run: echo "${{ steps.bump_version.outputs.next-version }}" > version.txt
|
||||||
|
working-directory: content
|
||||||
- name: Read Current Version
|
- name: Read Current Version
|
||||||
run: echo "::set-env name=CURRENT_VERSION::$(cat version.txt)"
|
run: echo "::set-env name=CURRENT_VERSION::$(cat version.txt)"
|
||||||
- run: git add version.txt && git commit -m "${{ env.VERSION_FRAGMENT }} version increment [skip actions]" && git tag ${{ env.CURRENT_VERSION }}
|
working-directory: content
|
||||||
- uses: akkuman/gitea-release-action@v1
|
- run: git add version.txt && git commit -m "${{ env.VERSION_FRAGMENT }} version increment [skip actions]"
|
||||||
env:
|
working-directory: content
|
||||||
NODE_OPTIONS: '--experimental-fetch' # if nodejs < 18
|
- uses: actions/checkout@v6
|
||||||
|
id: clone quartz repo
|
||||||
with:
|
with:
|
||||||
|
# Repository name with owner. For example, actions/checkout
|
||||||
|
# Default: ${{ github.repository }}
|
||||||
|
repository: 'jackyzha0/quartz.git'
|
||||||
|
github-server-url: 'https://github.com/'
|
||||||
|
fetch-depth: 1
|
||||||
|
persist-credentials: false
|
||||||
|
token: ${{secrets.GH_PAT}}
|
||||||
|
ref: v4
|
||||||
|
path: quartz
|
||||||
|
- name: Overlay quartz configs
|
||||||
|
run: cp -fR content/.quartz/** .
|
||||||
|
- name: Copy the content
|
||||||
|
run: cp -fR content/** quartz/content
|
||||||
|
- name: Install Dependencies
|
||||||
|
run: npm ci
|
||||||
|
working-directory: quartz
|
||||||
|
- name: Build Quartz
|
||||||
|
run: npx quartz build
|
||||||
|
working-directory: quartz
|
||||||
|
- run: tar czf www.tar.gz -C quartz public
|
||||||
|
- uses: akkuman/gitea-release-action@v1
|
||||||
|
with:
|
||||||
|
tag_name: ${{env.CURRENT_VERSION}}
|
||||||
|
name: ${{env.CURRENT_VERSION}}
|
||||||
files: |-
|
files: |-
|
||||||
public/**
|
www.tar.gz
|
||||||
token: ${{secrets.CI_ACCESS}}
|
token: ${{secrets.CI_ACCESS}}
|
||||||
|
- run: git push
|
||||||
|
working-directory: content
|
||||||
20
.obsidian/workspace.json
vendored
20
.obsidian/workspace.json
vendored
@@ -13,12 +13,12 @@
|
|||||||
"state": {
|
"state": {
|
||||||
"type": "markdown",
|
"type": "markdown",
|
||||||
"state": {
|
"state": {
|
||||||
"file": "Welcome.md",
|
"file": "index.md",
|
||||||
"mode": "source",
|
"mode": "source",
|
||||||
"source": false
|
"source": false
|
||||||
},
|
},
|
||||||
"icon": "lucide-file",
|
"icon": "lucide-file",
|
||||||
"title": "Welcome"
|
"title": "index"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
@@ -94,7 +94,7 @@
|
|||||||
"state": {
|
"state": {
|
||||||
"type": "backlink",
|
"type": "backlink",
|
||||||
"state": {
|
"state": {
|
||||||
"file": "Welcome.md",
|
"file": "index.md",
|
||||||
"collapseAll": false,
|
"collapseAll": false,
|
||||||
"extraContext": false,
|
"extraContext": false,
|
||||||
"sortOrder": "alphabetical",
|
"sortOrder": "alphabetical",
|
||||||
@@ -104,7 +104,7 @@
|
|||||||
"unlinkedCollapsed": true
|
"unlinkedCollapsed": true
|
||||||
},
|
},
|
||||||
"icon": "links-coming-in",
|
"icon": "links-coming-in",
|
||||||
"title": "Backlinks for Welcome"
|
"title": "Backlinks for index"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -113,12 +113,12 @@
|
|||||||
"state": {
|
"state": {
|
||||||
"type": "outgoing-link",
|
"type": "outgoing-link",
|
||||||
"state": {
|
"state": {
|
||||||
"file": "Welcome.md",
|
"file": "index.md",
|
||||||
"linksCollapsed": false,
|
"linksCollapsed": false,
|
||||||
"unlinkedCollapsed": true
|
"unlinkedCollapsed": true
|
||||||
},
|
},
|
||||||
"icon": "links-going-out",
|
"icon": "links-going-out",
|
||||||
"title": "Outgoing links from Welcome"
|
"title": "Outgoing links from index"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -156,13 +156,13 @@
|
|||||||
"state": {
|
"state": {
|
||||||
"type": "outline",
|
"type": "outline",
|
||||||
"state": {
|
"state": {
|
||||||
"file": "Welcome.md",
|
"file": "index.md",
|
||||||
"followCursor": false,
|
"followCursor": false,
|
||||||
"showSearch": false,
|
"showSearch": false,
|
||||||
"searchQuery": ""
|
"searchQuery": ""
|
||||||
},
|
},
|
||||||
"icon": "lucide-list",
|
"icon": "lucide-list",
|
||||||
"title": "Outline of Welcome"
|
"title": "Outline of index"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
@@ -183,9 +183,9 @@
|
|||||||
"bases:Create new base": false
|
"bases:Create new base": false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"active": "fb3397b33e4538d8",
|
"active": "ce0058b798b778c7",
|
||||||
"lastOpenFiles": [
|
"lastOpenFiles": [
|
||||||
"version.txt",
|
"version.txt",
|
||||||
"Welcome.md"
|
"index.md"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
10
.quartz/quartz.config.ts
Normal file
10
.quartz/quartz.config.ts
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
const config: QuartzConfig = {
|
||||||
|
configuration: {
|
||||||
|
baseUrl: "https://garden.werats.gay",
|
||||||
|
pageTitle: "The Garden"
|
||||||
|
},
|
||||||
|
plugins: { },
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
export default config;
|
||||||
@@ -1,7 +1,10 @@
|
|||||||
|
---
|
||||||
|
title: Welcome
|
||||||
|
---
|
||||||
|
|
||||||
|
|
||||||
This is your new *vault*.
|
This is your new *vault*.
|
||||||
|
|
||||||
Make a note of something, [[create a link]], or try [the Importer](https://help.obsidian.md/Plugins/Importer)!
|
Make a note of something, [[create a link]], or try [the Importer](https://help.obsidian.md/Plugins/Importer)!
|
||||||
|
|
||||||
When you're ready, delete this note and make the vault your own.
|
When you're ready, delete this note and make the vault your own.
|
||||||
|
|
||||||
HELLO
|
|
||||||
@@ -1 +1 @@
|
|||||||
0.0.1
|
1.7.0
|
||||||
|
|||||||
Reference in New Issue
Block a user