We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b8a3b67 commit 7d196d7Copy full SHA for 7d196d7
.github/workflows/deploy.yml
@@ -1,3 +1,5 @@
1
+name: Deploy to GitHub Pages
2
+
3
on:
4
push:
5
branches:
@@ -12,7 +14,25 @@ jobs:
12
14
deploy:
13
15
runs-on: ubuntu-latest
16
steps:
17
+ - name: Checkout code
18
+ uses: actions/checkout@v4
19
20
+ - name: Setup Node.js
21
+ uses: actions/setup-node@v3
22
+ with:
23
+ node-version: '20.15.0' # change to the version you wish to use
24
25
+ - run: npm ci
26
27
+ - run: npm run build
28
29
+ - name: Configure Git
30
+ run: |
31
+ git config --global user.email "paulwoisard@gmail.com"
32
+ git config --global user.name "Paul WOISARD"
33
34
- id: build-publish
35
uses: bitovi/github-actions-react-to-github-pages@v1.2.4
36
with:
- path: dist # change to your build folder
37
+ path: dist # change to your build folder (dist for Vite)
38
0 commit comments