Skip to content

Commit c515539

Browse files
authored
Merge pull request #59 from Funasitien/vitepress
Vitepress
2 parents 4821657 + d294e89 commit c515539

File tree

240 files changed

+2379
-26002
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

240 files changed

+2379
-26002
lines changed

.gitattributes

Lines changed: 0 additions & 1 deletion
This file was deleted.

.github/FUNDING.yml

Lines changed: 0 additions & 3 deletions
This file was deleted.

.github/dependabot.yml

Lines changed: 0 additions & 11 deletions
This file was deleted.

.github/workflows/dependabot.yaml

Lines changed: 0 additions & 23 deletions
This file was deleted.

.github/workflows/deploy.yml

Lines changed: 40 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,66 @@
1-
name: 🚀 Deploy Quartz site to GitHub Pages
1+
# Sample workflow for building and deploying a VitePress site to GitHub Pages
2+
#
3+
name: Deploy VitePress site to Pages
24

35
on:
6+
# Runs on pushes targeting the `main` branch. Change this to `master` if you're
7+
# using the `master` branch as the default branch.
48
push:
5-
branches:
6-
- main
7-
9+
branches: "*"
10+
11+
# Allows you to run this workflow manually from the Actions tab
12+
workflow_dispatch:
13+
14+
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
815
permissions:
916
contents: read
1017
pages: write
1118
id-token: write
12-
19+
20+
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
21+
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
1322
concurrency:
14-
group: "pages"
23+
group: pages
1524
cancel-in-progress: false
16-
25+
1726
jobs:
27+
# Build job
1828
build:
19-
runs-on: ubuntu-22.04
29+
runs-on: ubuntu-latest
2030
steps:
21-
- uses: actions/checkout@v4
31+
- name: Checkout
32+
uses: actions/checkout@v4
2233
with:
23-
fetch-depth: 0 # Fetch all history for git info
24-
- uses: actions/setup-node@v4
34+
fetch-depth: 0 # Not needed if lastUpdated is not enabled
35+
# - uses: pnpm/action-setup@v3 # Uncomment this block if you're using pnpm
36+
# with:
37+
# version: 9 # Not needed if you've set "packageManager" in package.json
38+
# - uses: oven-sh/setup-bun@v1 # Uncomment this if you're using Bun
39+
- name: Setup Node
40+
uses: actions/setup-node@v4
2541
with:
2642
node-version: 22
27-
- name: Install Dependencies
28-
run: npm ci
29-
- name: Build Quartz
30-
run: npx quartz build
43+
cache: npm # or pnpm / yarn
44+
- name: Setup Pages
45+
uses: actions/configure-pages@v4
46+
- name: Install dependencies
47+
run: npm ci # or pnpm install / yarn install / bun install
48+
- name: Build with VitePress
49+
run: npm run build # or pnpm docs:build / yarn docs:build / bun run docs:build
3150
- name: Upload artifact
3251
uses: actions/upload-pages-artifact@v3
3352
with:
34-
path: public
35-
53+
path: docs/.vitepress/dist
54+
55+
# Deployment job
3656
deploy:
37-
needs: build
3857
environment:
3958
name: github-pages
4059
url: ${{ steps.deployment.outputs.page_url }}
60+
needs: build
4161
runs-on: ubuntu-latest
62+
name: Deploy
4263
steps:
4364
- name: Deploy to GitHub Pages
4465
id: deployment
45-
uses: actions/deploy-pages@v4
66+
uses: actions/deploy-pages@v4

.gitignore

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,2 @@
1-
.DS_Store
2-
.gitignore
31
node_modules
4-
public
5-
prof
6-
tsconfig.tsbuildinfo
7-
.obsidian
8-
.quartz-cache
9-
private/
10-
.replit
11-
replit.nix
2+
cache

.node-version

Lines changed: 0 additions & 1 deletion
This file was deleted.

.npmrc

Lines changed: 0 additions & 1 deletion
This file was deleted.

.prettierignore

Lines changed: 0 additions & 3 deletions
This file was deleted.

.prettierrc

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)