We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 093c01e commit 096c7c9Copy full SHA for 096c7c9
.github/workflows/gh-pages.yaml
@@ -0,0 +1,32 @@
1
+name: GitHub Pages
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - 'master'
7
8
+jobs:
9
+ deploy:
10
+ runs-on: ubuntu-latest
11
12
+ steps:
13
+ - uses: actions/checkout@v4
14
15
+ - name: Set up Node.js
16
+ uses: actions/setup-node@v4
17
+ with:
18
+ node-version: '18'
19
20
+ - name: Install dependencies
21
+ run: npm ci
22
23
+ - name: Build for gh-pages
24
+ run: |
25
+ npm run build
26
+ echo "bee-js.ethswarm.org" > ./build/CNAME
27
28
+ - name: Deploy to gh-pages
29
+ uses: peaceiris/actions-gh-pages@v4
30
31
+ github_token: ${{ secrets.GITHUB_TOKEN }}
32
+ publish_dir: ./build
0 commit comments