Skip to content

Commit 3a580b6

Browse files
authored
try this (#4)
1 parent acf8104 commit 3a580b6

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/build.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: build
2+
3+
on:
4+
push:
5+
branches: main
6+
7+
permissions:
8+
contents: read
9+
pages: write
10+
id-token: write
11+
12+
jobs:
13+
build:
14+
runs-on: ubuntu-latest
15+
timeout-minutes: 10
16+
environment:
17+
name: github-pages
18+
steps:
19+
- uses: actions/checkout@v4
20+
- uses: actions/setup-node@v4
21+
- run: |
22+
npm install
23+
npm run build
24+
- uses: actions/configure-pages@v5
25+
- uses: actions/upload-pages-artifact@v3
26+
with:
27+
path: dist
28+
- uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)