We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 09aae69 commit f7384d0Copy full SHA for f7384d0
.github/workflows/deploy-docs.yml
@@ -0,0 +1,36 @@
1
+name: Deploy Proxy402 Docs to GitHub Pages
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - main
7
8
+jobs:
9
+ deploy:
10
+ name: Deploy to GitHub Pages
11
+ runs-on: ubuntu-latest
12
13
+ steps:
14
+ - name: Checkout repository
15
+ uses: actions/checkout@v3
16
+ with:
17
+ fetch-depth: 0
18
19
+ - name: Setup Node.js
20
+ uses: actions/setup-node@v3
21
22
+ node-version: 18
23
+ cache: npm
24
+ cache-dependency-path: package-lock.json
25
26
+ - name: Install dependencies
27
+ run: npm ci
28
29
+ - name: Build website
30
+ run: npm run build
31
32
+ - name: Deploy to GitHub Pages
33
+ uses: peaceiris/actions-gh-pages@v3
34
35
+ github_token: ${{ secrets.GITHUB_TOKEN }}
36
+ publish_dir: .build
0 commit comments