Skip to content

Commit 40bc6cf

Browse files
Add GitHub Pages deploy workflow
1 parent e9bf07b commit 40bc6cf

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

.github/workflows/deploy.yml

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

0 commit comments

Comments
 (0)