Skip to content

Commit 8e4e81d

Browse files
author
haoyu
committed
add
1 parent 72032b0 commit 8e4e81d

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Deploy to GitHub Pages
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout code
13+
uses: actions/checkout@v3
14+
15+
- name: Install dependencies
16+
run: npm install
17+
18+
- name: Build project
19+
run: npm run build
20+
21+
- name: Deploy
22+
run: npm run deploy

0 commit comments

Comments
 (0)