Skip to content

Commit 0b8ee94

Browse files
committed
Quartz sync: May 18, 2025, 4:48 PM
1 parent c7d359f commit 0b8ee94

File tree

4 files changed

+16
-0
lines changed

4 files changed

+16
-0
lines changed

.github/workflows/deploy.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,23 @@ jobs:
2424
- uses: actions/checkout@v4
2525
with:
2626
fetch-depth: 0 # Fetch all history for git info
27+
submodules: recursive
28+
token: ${{ secrets.GH_PAT }}
29+
2730
- uses: actions/setup-node@v4
2831
with:
2932
node-version: 22
3033
- name: Install Dependencies
3134
run: npm ci
35+
3236
# - name: Fetch Quartz Theme
3337
# run: curl -s -S https://raw.githubusercontent.com/saberzero1/quartz-themes/master/action.sh | bash -s -- $THEME_NAME
38+
39+
- name: Copy content from submodule
40+
run: |
41+
mkdir -p ./content
42+
cp -r ./submodules/content-repo/content/* ./content/
43+
3444
- name: Build Quartz
3545
run: npx quartz build
3646
- name: Upload artifact

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,5 @@ tsconfig.tsbuildinfo
99
private/
1010
.replit
1111
replit.nix
12+
submodules/
13+
!content/

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "submodules/content-repo"]
2+
path = submodules/content-repo
3+
url = https://github.com/codeyoma/obsidian-public-content.git

submodules/content-repo

Submodule content-repo added at 8003686

0 commit comments

Comments
 (0)