Skip to content

Commit 23fac86

Browse files
committed
chore: add github actions deployment
1 parent 71e9c87 commit 23fac86

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/gh-pages.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Build and Deploy
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
8+
permissions:
9+
contents: write
10+
11+
jobs:
12+
build-and-deploy:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Checkout 🛎️
16+
uses: actions/checkout@v4
17+
18+
- name: Install and Build 🔧
19+
run: |
20+
npm install
21+
npm run build
22+
23+
- name: Deploy 🚀
24+
uses: JamesIves/github-pages-deploy-action@v4
25+
with:
26+
# The folder the action should deploy.
27+
folder: dist

0 commit comments

Comments
 (0)