Skip to content
This repository was archived by the owner on Apr 24, 2026. It is now read-only.

Commit 9e539c2

Browse files
committed
Initial: tiger knowledge base
0 parents  commit 9e539c2

110 files changed

Lines changed: 3158 additions & 0 deletions

File tree

Some content is hidden

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

.github/workflows/deploy.yml

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
name: Build and Deploy
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
branches: [main]
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v4
14+
15+
- name: Setup Node
16+
uses: actions/setup-node@v4
17+
with:
18+
node-version: '20'
19+
cache: 'npm'
20+
21+
- name: Install dependencies
22+
run: npm ci
23+
24+
- name: Build with domstack
25+
run: npm run build
26+
27+
- name: Setup codebasesearch index
28+
run: npm run search
29+
continue-on-error: true
30+
31+
- name: Upload artifacts
32+
uses: actions/upload-artifact@v4
33+
with:
34+
name: public
35+
path: public/
36+
37+
deploy:
38+
needs: build
39+
if: github.ref == 'refs/heads/main'
40+
runs-on: ubuntu-latest
41+
steps:
42+
- uses: actions/checkout@v4
43+
44+
- name: Download artifacts
45+
uses: actions/download-artifact@v4
46+
with:
47+
name: public
48+
49+
- name: Deploy to GitHub Pages
50+
uses: peaceiris/actions-gh-pages@v3
51+
with:
52+
github_token: ${{ secrets.GITHUB_TOKEN }}
53+
publish_dir: ./public

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
.gm-stop-verified
2+
3+
.code-search/

0 commit comments

Comments
 (0)