23 Commits

Author SHA1 Message Date
1869be9a19 upload tarball to releases instead
Some checks failed
Deploy Quartz site to Pages / build (push) Failing after 22s
2026-04-11 02:57:25 -05:00
Build Pipeline
7621ff8fb0 minor version increment [skip actions] 2026-04-11 07:51:03 +00:00
3820922535 buh?
Some checks failed
Deploy Quartz site to Pages / build (push) Failing after 21s
2026-04-11 02:50:42 -05:00
Build Pipeline
e37517047f minor version increment [skip actions] 2026-04-11 07:48:16 +00:00
ac7e1c6b66 already forgor
Some checks failed
Deploy Quartz site to Pages / build (push) Failing after 6s
2026-04-11 02:48:00 -05:00
Build Pipeline
f3c8747d30 minor version increment [skip actions] 2026-04-11 07:46:36 +00:00
816708741f change release naem
Some checks failed
Deploy Quartz site to Pages / build (push) Failing after 5s
2026-04-11 02:46:24 -05:00
e3370bded5 set the working directory 2026-04-11 02:45:23 -05:00
18529618ad update the tags
Some checks failed
Deploy Quartz site to Pages / build (push) Failing after 26s
2026-04-11 02:39:05 -05:00
577fa8b339 change tag naem 2026-04-11 02:38:24 -05:00
35641f8a60 add the base config
Some checks failed
Deploy Quartz site to Pages / build (push) Failing after 6s
2026-04-11 02:31:42 -05:00
2c1f5c3059 yarp
Some checks failed
Deploy Quartz site to Pages / build (push) Failing after 8s
2026-04-11 02:28:48 -05:00
a1f88b8bb4 minor tweaks
Some checks failed
Deploy Quartz site to Pages / build (push) Failing after 5s
2026-04-11 02:27:19 -05:00
59a23af308 use the correct ref
Some checks failed
Deploy Quartz site to Pages / build (push) Failing after 7s
2026-04-11 02:21:11 -05:00
fc9d07751f use the pat....
Some checks failed
Deploy Quartz site to Pages / build (push) Failing after 37s
2026-04-11 02:19:47 -05:00
88f3322305 use the normal ass action
Some checks failed
Deploy Quartz site to Pages / build (push) Failing after 53s
2026-04-11 02:12:10 -05:00
9dcb31ca0b only fetch depth 1
Some checks failed
Deploy Quartz site to Pages / build (push) Failing after 1m30s
2026-04-11 02:09:04 -05:00
6731b23c2a fuck you! 2026-04-11 02:08:30 -05:00
3f7bfc6a60 why use v4? idk
Some checks failed
Deploy Quartz site to Pages / build (push) Failing after 35s
2026-04-11 02:05:37 -05:00
d347e3d97d once more unto the breach 2026-04-11 02:05:24 -05:00
7421a07837 try once more?
Some checks failed
Deploy Quartz site to Pages / build (push) Failing after 1m42s
2026-04-11 02:02:14 -05:00
c5e46cef5c remove junk
Some checks failed
Deploy Quartz site to Pages / build (push) Failing after 1m31s
2026-04-11 01:47:00 -05:00
bee02ef666 update deployment 2026-04-11 01:46:50 -05:00
4 changed files with 56 additions and 28 deletions

View File

@@ -3,35 +3,29 @@ name: Deploy Quartz site to Pages
env:
VERSION_FRAGMENT: minor
on:
push:
branches:
- v4
on: [push]
permissions:
contents: read
id-token: write
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
build:
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Fetch all history for git info
- uses: actions/setup-node@v4
with:
node-version: 22
- name: Install Dependencies
run: npm ci
- name: Build Quartz
run: npx quartz build
- name: Read Current Version
node-version: 24
- uses: actions/checkout@v6
id: get garden content
with:
fetch-depth: 0 # Fetch all history for git info
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)"
working-directory: content
- name: Increment Semantic Version
uses: christian-draeger/increment-semantic-version@1.2.3
id: bump_version
@@ -39,13 +33,43 @@ jobs:
current-version: ${{ env.CURRENT_VERSION }}
version-fragment: ${{ env.VERSION_FRAGMENT }}
- run: echo "${{ steps.bump_version.outputs.next-version }}" > version.txt
working-directory: content
- name: Read Current Version
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 }}
- uses: akkuman/gitea-release-action@v1
env:
NODE_OPTIONS: '--experimental-fetch' # if nodejs < 18
working-directory: content
- run: git add version.txt && git commit -m "${{ env.VERSION_FRAGMENT }} version increment [skip actions]"
working-directory: content
- uses: actions/checkout@v6
id: clone quartz repo
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: ls -alR
working-directory: quartz/public
- run: tar czf www.tar.gz quartz/public
- uses: akkuman/gitea-release-action@v1
with:
tag_name: ${{env.CURRENT_VERSION}}
name: ${{env.CURRENT_VERSION}}
files: |-
public/**
www.tar.gz
token: ${{secrets.CI_ACCESS}}
- run: git push
working-directory: content

6
.quartz/quartz.config.ts Normal file
View File

@@ -0,0 +1,6 @@
const config: QuartzConfig = {
configuration: {
baseUrl: "http://localhost:8080"
},
plugins: { },
}

View File

@@ -3,5 +3,3 @@ This is your new *vault*.
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.
HELLO

View File

@@ -1 +1 @@
0.0.1
1.2.0