mirror of
https://github.com/logos-storage/logos-storage-docs-obsidian.git
synced 2026-01-08 08:13:12 +00:00
Merge pull request #3 from codex-storage/feat/quartz
feat: add quartz build into github pages
This commit is contained in:
commit
7aa46c4831
65
.github/workflows/deploy.yml
vendored
Normal file
65
.github/workflows/deploy.yml
vendored
Normal file
@ -0,0 +1,65 @@
|
||||
name: Deploy Quartz site to Pages
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
workflow_dispatch:
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
pages: write
|
||||
id-token: write
|
||||
|
||||
concurrency:
|
||||
group: "pages"
|
||||
cancel-in-progress: false
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 22
|
||||
|
||||
- name: Setup Pages
|
||||
id: pages
|
||||
uses: actions/configure-pages@v4
|
||||
|
||||
- name: Install Quartz
|
||||
run: |
|
||||
git clone https://github.com/jackyzha0/quartz.git
|
||||
cd quartz
|
||||
npm ci
|
||||
|
||||
- name: Build Quartz site
|
||||
run: |
|
||||
cd quartz
|
||||
cp -r ../* content/
|
||||
rm -rf content/.git content/.github content/quartz
|
||||
npx quartz build
|
||||
env:
|
||||
BASE_URL: ${{ steps.pages.outputs.base_url }}
|
||||
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-pages-artifact@v3
|
||||
with:
|
||||
path: ./quartz/public
|
||||
|
||||
deploy:
|
||||
environment:
|
||||
name: github-pages
|
||||
url: ${{ steps.deployment.outputs.page_url }}
|
||||
runs-on: ubuntu-22.04
|
||||
needs: build
|
||||
steps:
|
||||
- name: Deploy to GitHub Pages
|
||||
id: deployment
|
||||
uses: actions/deploy-pages@v4
|
||||
2
.gitignore
vendored
2
.gitignore
vendored
@ -2,4 +2,4 @@
|
||||
.obsidian/publish.json
|
||||
.obsidian/workspace*.json
|
||||
00 Planner
|
||||
10 Notes/Inbox.md
|
||||
10 Notes/Inbox.md
|
||||
|
||||
@ -1,10 +1,10 @@
|
||||
|
||||
**Goal.** The goal of this page is to serve as an entry point to the use-case information that enters the Codex project. We flesh those out by project when possible. What has not yet been fleshed out goes under
|
||||
**Goal.** The goal of this page is to serve as an entry point to the use-case information that enters the Codex project. We flesh those out by project when possible. What has not yet been fleshed out goes under "Misc".
|
||||
|
||||
#### Project Use Cases
|
||||
|
||||
* [[Codex Use Cases - Status]]
|
||||
* Codex Use Cases - Waku
|
||||
* [[Codex Use Cases - Waku]]
|
||||
#### Misc
|
||||
|
||||
* Václav's Thoughts
|
||||
* [[Codex Use Cases - Václav's Thoughts]]
|
||||
|
||||
9
index.md
Normal file
9
index.md
Normal file
@ -0,0 +1,9 @@
|
||||
---
|
||||
title: "Codex Storage Knowledge Base"
|
||||
---
|
||||
|
||||
# Welcome to Codex Storage Knowledge Base
|
||||
|
||||
This is the knowledge base for the Codex project - a decentralized storage protocol. If you are looking for the official documentation, you should head to [https://docs.codex.storage](https://docs.codex.storage).
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user