We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e440a9e commit e57cfeeCopy full SHA for e57cfee
.github/workflows/deploy.yml
@@ -0,0 +1,34 @@
1
+name: Deploy to GitHub Pages
2
+
3
+on:
4
+ push:
5
+ branches: [main]
6
+ workflow_dispatch:
7
8
+jobs:
9
+ build-and-deploy:
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - uses: actions/checkout@v3
13
14
+ - uses: actions/setup-node@v3
15
+ with:
16
+ node-version: 20
17
18
+ - name: Install dependencies
19
+ run: npm ci
20
21
+ - name: Build
22
+ run: npm run build
23
24
+ - name: Add .nojekyll file
25
+ run: touch ./dist/.nojekyll
26
27
+ - name: Deploy
28
+ uses: JamesIves/github-pages-deploy-action@v4
29
30
+ folder: dist
31
+ branch: gh-pages
32
+ # The following line ensures proper MIME types
33
+ clean-exclude: |
34
+ .nojekyll
0 commit comments