We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1481bcf commit 82e3ee8Copy full SHA for 82e3ee8
.github/workflows/deploy.yml
@@ -0,0 +1,30 @@
1
+name: Build and Deploy to GitHub Pages
2
+
3
+on:
4
+ push:
5
+ branches: [main]
6
7
+jobs:
8
+ build-and-deploy:
9
+ runs-on: ubuntu-latest
10
11
+ steps:
12
+ - name: Checkout repository
13
+ uses: actions/checkout@v3
14
15
+ - name: Setup Node.js
16
+ uses: actions/setup-node@v3
17
+ with:
18
+ node-version: 18
19
20
+ - name: Install dependencies
21
+ run: npm ci
22
23
+ - name: Build project
24
+ run: npm run build
25
26
+ - name: Deploy to GitHub Pages
27
+ uses: peaceiris/actions-gh-pages@v3
28
29
+ github_token: ${{ secrets.GITHUB_TOKEN }}
30
+ publish_dir: ./dist
0 commit comments