Skip to content

Commit 5346205

Browse files
committed
build: add docs workflow
1 parent 8c40299 commit 5346205

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.github/workflows/docs.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: docs
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
docs:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Check out
13+
uses: actions/checkout@v4
14+
15+
- name: Install Vercel CLI
16+
run: npm install -g vercel@37.8.0
17+
18+
- name: Deploy to vercel
19+
uses: BetaHuhn/deploy-to-vercel-action@v1
20+
with:
21+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
22+
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }}
23+
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
24+
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
25+
26+
- name: Typesense scraper
27+
uses: celsiusnarhwal/typesense-scraper@v2
28+
with:
29+
api-key: ${{ secrets.TYPESENSE_API_KEY }}
30+
host: search.solidcharts.dev
31+
port: 443
32+
protocol: https
33+
config: ./docs/typesense.config.json

0 commit comments

Comments
 (0)