Skip to content

Commit 4f9e6f3

Browse files
authored
Add GitHub Actions deploy pipeline configuration
1 parent 3599be7 commit 4f9e6f3

1 file changed

Lines changed: 34 additions & 0 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Deploy Pipeline
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
7+
jobs:
8+
deploy:
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- name: Checkout repo
13+
uses: actions/checkout@v4
14+
15+
- name: Setup Node.js
16+
uses: actions/setup-node@v4
17+
with:
18+
node-version: 22
19+
cache: "npm"
20+
21+
- name: Install dependencies
22+
run: npm install
23+
24+
- name: Build Explorer
25+
run: npm run deploy:explorer
26+
27+
- name: Build Dashboard
28+
run: npm run deploy:dashboard
29+
30+
- name: Upload artifacts
31+
uses: actions/upload-artifact@v4
32+
with:
33+
name: explorer-dashboard
34+
path: build/

0 commit comments

Comments
 (0)