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 5f99877 commit 1c73a71Copy full SHA for 1c73a71
.github/workflows/deploy_nextjs.yml
@@ -0,0 +1,32 @@
1
+name: Deploy WebXDAO Nextjs Landing to Github Pages
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - main
7
8
+ workflow_dispatch:
9
10
+jobs:
11
+ deployment:
12
+ runs-on: ubuntu-latest
13
14
+ steps:
15
+ - uses: actions/checkout@v2
16
17
+ - name: Setup Node
18
+ uses: actions/setup-node@v2
19
+ with:
20
+ node-version: "lts/*"
21
+ cache: "npm"
22
23
+ - name: Build
24
+ run: |
25
+ npm i
26
+ npm run build
27
+ npm run export
28
+ - name: Deploy
29
+ uses: peaceiris/actions-gh-pages@v3
30
31
+ deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
32
+ publish_dir: ./out
0 commit comments