We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0238892 + 0f6c3df commit 89cfb27Copy full SHA for 89cfb27
.github/workflows/deploy.yml
@@ -0,0 +1,32 @@
1
+name: Build and Deploy to GitHub Pages
2
+
3
+on:
4
+ workflow_dispatch:
5
+ push:
6
+ branches:
7
+ - main
8
9
+jobs:
10
+ build-and-deploy:
11
+ runs-on: ubuntu-latest
12
13
+ steps:
14
+ - name: Checkout
15
+ uses: actions/checkout@v2
16
17
+ - name: Set up Node.js
18
+ uses: actions/setup-node@v4
19
+ with:
20
+ node-version: "20"
21
22
+ - name: Install Dependencies
23
+ run: npm install
24
25
+ - name: Build
26
+ run: CI='false' npm run build
27
28
+ - name: Deploy to GitHub Pages
29
+ uses: JamesIves/[email protected]
30
31
+ branch: gh-pages
32
+ folder: build
0 commit comments