-
Notifications
You must be signed in to change notification settings - Fork 1
39 lines (32 loc) · 889 Bytes
/
build.yml
File metadata and controls
39 lines (32 loc) · 889 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: Build
on:
pull_request:
push:
jobs:
build:
runs-on: ubuntu-latest
permissions: write-all
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
submodules: recursive
- uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- name: Install dependencies
run: |
bun install
- name: Build
env:
VITE_CONVEX_URL: ${{ vars.VITE_CONVEX_URL }}
VITE_CONVEX_SITE_URL: ${{ vars.VITE_CONVEX_SITE_URL }}
VITE_PUBLIC_POSTHOG_HOST: ${{ vars.VITE_PUBLIC_POSTHOG_HOST }}
VITE_PUBLIC_POSTHOG_KEY: ${{ vars.VITE_PUBLIC_POSTHOG_KEY }}
run: |
bun run build
cp build/client/index.html build/client/404.html
- uses: actions/upload-artifact@v4
with:
name: Build
path: ./build/client