We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 580ebb6 commit c2b53dbCopy full SHA for c2b53db
.github/workflows/pages.yml
@@ -0,0 +1,33 @@
1
+name: Update Deployment
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - "*"
7
8
+jobs:
9
+ publish:
10
+ permissions:
11
+ contents: write
12
+ runs-on: ubuntu-latest
13
+ steps:
14
+ - name: Check out
15
+ uses: actions/checkout@v4
16
17
+ - name: Setup Node.js
18
+ uses: actions/setup-node@v2
19
+ with:
20
+ node-version: '20'
21
22
+ - name: Install dependencies
23
+ run: cd client && npm install
24
25
+ - name: Generate your content
26
+ run: npm run build:client
27
28
+ - name: Publish current workdir (which contains generated content) to GitHub Pages
29
+ uses: rayluo/[email protected]
30
31
32
+ source-directory: ./client/
33
+ target-branch: gh-pages
0 commit comments