We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c9539f7 commit 5a38e50Copy full SHA for 5a38e50
.github/workflows/build.yml
@@ -0,0 +1,37 @@
1
+name: Build and Deploy
2
+
3
+on:
4
+ push:
5
+ branches: ["main"]
6
+ pull_request:
7
8
+ workflow_dispatch:
9
10
+jobs:
11
+ build-and-deploy:
12
+ runs-on: ubuntu-latest
13
14
+ steps:
15
+ - name: Checkout 🛎️
16
+ uses: actions/checkout@v3
17
18
+ - name: Setup Bun
19
+ uses: oven-sh/setup-bun@v1
20
+ with:
21
+ bun-version: latest
22
23
+ - name: Install Dependencies 📦
24
+ run: bun install
25
26
+ - name: Build 🔧
27
+ run: bun run build
28
+ working-directory: ./web
29
+ env:
30
+ VITE_BACKEND_URL: http://103.14.23.66:9999
31
32
+ - name: Deploy 🚀
33
+ uses: JamesIves/github-pages-deploy-action@v4
34
35
+ branch: gh-pages
36
+ folder: web/dist
37
+ clean: true
0 commit comments