Skip to content

Commit 25faed8

Browse files
committed
Add github pages action
1 parent c68f626 commit 25faed8

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/deploy-pages.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Deploy conversations branch to Github Pages
2+
3+
on:
4+
push:
5+
branches: [ "conversations" ]
6+
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
permissions:
11+
contents: write
12+
id-token: write
13+
pages: write
14+
steps:
15+
- uses: actions/checkout@v4
16+
- uses: actions/setup-node@v3
17+
with:
18+
node-version: 18
19+
- run: npm ci && npm run build
20+
- uses: actions/upload-pages-artifact@v2
21+
with:
22+
path: "dist"
23+
- uses: actions/deploy-pages@v3
24+
25+

0 commit comments

Comments
 (0)