Skip to content

Commit 78977e0

Browse files
authored
🛠️ Chore : github deploy actions (#1)
* 🛠️ Chore : github actions on push
1 parent 398b740 commit 78977e0

File tree

3 files changed

+51
-2
lines changed

3 files changed

+51
-2
lines changed

.github/workflows/deploy.yaml

+43
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: Deploy Quartz site to GitHub Pages
2+
3+
on:
4+
push:
5+
branches:
6+
- v4
7+
8+
permissions:
9+
contents: read
10+
pages: write
11+
id-token: write
12+
13+
concurrency:
14+
group: "pages"
15+
cancel-in-progress: false
16+
17+
jobs:
18+
build:
19+
runs-on: ubuntu-22.04
20+
steps:
21+
- uses: actions/checkout@v4
22+
with:
23+
fetch-depth: 0 # Fetch all history for git info
24+
- uses: actions/setup-node@v4
25+
- name: Install Dependencies
26+
run: npm ci
27+
- name: Build Quartz
28+
run: npx quartz build
29+
- name: Upload artifact
30+
uses: actions/upload-pages-artifact@v3
31+
with:
32+
path: public
33+
34+
deploy:
35+
needs: build
36+
environment:
37+
name: github-pages
38+
url: ${{ steps.deployment.outputs.page_url }}
39+
runs-on: ubuntu-latest
40+
steps:
41+
- name: Deploy to GitHub Pages
42+
id: deployment
43+
uses: actions/deploy-pages@v4

content/index.md

+7-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
---
2-
title: Welcome to Quartz
2+
title: Index.md
3+
description: root page
4+
aliases: [main, root]
5+
tags:
6+
- docs
7+
draft: false
8+
date: 2024-07-21
39
---
410

511
This is a blank Quartz installation.

content/v1

Submodule v1 updated from adfdbfa to 6cdb393

0 commit comments

Comments
 (0)