File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Deploy docs
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+ paths :
8+ - " docs/**"
9+ workflow_dispatch :
10+
11+ permissions :
12+ contents : read
13+
14+ concurrency :
15+ group : docs-production
16+ cancel-in-progress : true
17+
18+ jobs :
19+ deploy :
20+ runs-on : ubuntu-latest
21+ steps :
22+ - name : Checkout
23+ uses : actions/checkout@v6
24+
25+ - name : Set up Node.js
26+ uses : actions/setup-node@v4
27+ with :
28+ node-version : 22
29+ cache : npm
30+ cache-dependency-path : docs/package-lock.json
31+
32+ - name : Install dependencies
33+ run : npm ci
34+ working-directory : docs
35+
36+ - name : Build docs
37+ run : npm run build
38+ working-directory : docs
39+
40+ - name : Deploy docs
41+ uses : cloudflare/wrangler-action@v3
42+ with :
43+ apiToken : ${{ secrets.CLOUDFLARE_API_TOKEN }}
44+ accountId : ${{ vars.CLOUDFLARE_ACCOUNT_ID }}
45+ workingDirectory : docs
46+ wranglerVersion : " 4.111.0"
47+ command : deploy
File renamed without changes.
Original file line number Diff line number Diff line change 1+ {
2+ "name" : " pawbar-docs" ,
3+ "compatibility_date" : " 2026-07-23" ,
4+ "workers_dev" : false ,
5+ "preview_urls" : false ,
6+ "assets" : {
7+ "directory" : " ./.vitepress/dist" ,
8+ "not_found_handling" : " 404-page" ,
9+ "html_handling" : " auto-trailing-slash" ,
10+ },
11+ "routes" : [
12+ {
13+ "pattern" : " pawbar.codelif.in" ,
14+ "custom_domain" : true ,
15+ },
16+ ],
17+ }
You can’t perform that action at this time.
0 commit comments