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 8a9139a commit 1ff375aCopy full SHA for 1ff375a
.github/workflows/Deploy.yml
@@ -0,0 +1,34 @@
1
+name: Deploy
2
+on:
3
+ push:
4
+ branches:
5
+ - main
6
+permissions:
7
+ contents: write
8
+
9
+jobs:
10
+ build-and-deploy:
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - uses: actions/checkout@v4
14
+ with:
15
+ fetch-depth: 0
16
17
+ - uses: actions/setup-node@v4
18
19
+ node-version: 20
20
+ cache: 'npm'
21
+ cache-dependency-path: '**/package-lock.json'
22
23
+ - run: npm ci --prefer-offline
24
25
+ - name: Install and Build 🔧
26
+ run: |
27
+ npm ci --prefer-offline
28
+ npm run build
29
30
+ - name: Deploy 🚀
31
+ uses: JamesIves/github-pages-deploy-action@v4
32
33
+ branch: gh-pages
34
+ folder: dist
0 commit comments