File tree Expand file tree Collapse file tree 2 files changed +57
-0
lines changed
Expand file tree Collapse file tree 2 files changed +57
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Deploy Docs
2+
3+ on :
4+ push :
5+ branches : [main]
6+ paths :
7+ - ' docs/**'
8+ - ' package.json'
9+ - ' package-lock.json'
10+
11+ permissions :
12+ contents : read
13+ pages : write
14+ id-token : write
15+
16+ concurrency :
17+ group : pages
18+ cancel-in-progress : false
19+
20+ jobs :
21+ build :
22+ runs-on : ubuntu-latest
23+ steps :
24+ - name : Checkout
25+ uses : actions/checkout@v4
26+ with :
27+ fetch-depth : 0
28+
29+ - name : Setup Node
30+ uses : actions/setup-node@v4
31+ with :
32+ node-version : 20
33+ cache : npm
34+
35+ - name : Install Dependencies
36+ run : npm ci
37+
38+ - name : Build Docs
39+ run : npm run docs:build
40+
41+ - name : Upload artifact
42+ uses : actions/upload-pages-artifact@v3
43+ with :
44+ path : docs/.vitepress/dist
45+
46+ deploy :
47+ environment :
48+ name : github-pages
49+ url : ${{ steps.deployment.outputs.page_url }}
50+ needs : build
51+ runs-on : ubuntu-latest
52+ name : Deploy
53+ steps :
54+ - name : Deploy to GitHub Pages
55+ id : deployment
56+ uses : actions/deploy-pages@v4
Original file line number Diff line number Diff line change 1+ www.objectql.com
You can’t perform that action at this time.
0 commit comments