We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a2c7ed7 commit 8b0cfbeCopy full SHA for 8b0cfbe
.github/workflows/deploy.yml
@@ -0,0 +1,29 @@
1
+name: Deploy to GitHub Pages
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - main # Set this to your default branch
7
8
+jobs:
9
+ deploy:
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - uses: actions/checkout@v3
13
14
+ - name: Setup Node
15
+ uses: actions/setup-node@v3
16
+ with:
17
+ node-version: '20' # Use the Node.js version specified in your package.json
18
19
+ - name: Install dependencies
20
+ run: npm ci
21
22
+ - name: Build
23
+ run: npm run build
24
25
+ - name: Deploy
26
+ uses: peaceiris/actions-gh-pages@v3
27
28
+ github_token: ${{ secrets.GITHUB_TOKEN }}
29
+ publish_dir: ./build/client # Adjust this to your build output directory
0 commit comments