We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 276ba54 commit e9c31acCopy full SHA for e9c31ac
1 file changed
.github/workflows/main.yml
@@ -0,0 +1,20 @@
1
+name: 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
+ steps:
11
+ - uses: actions/checkout@v3
12
+ - uses: actions/setup-node@v3
13
+ with:
14
+ node-version: '18'
15
+ - run: npm install
16
+ - run: npm run build
17
+ - uses: peaceiris/actions-gh-pages@v3
18
19
+ github_token: ${{ secrets.GITHUB_TOKEN }}
20
+ publish_dir: ./public
0 commit comments