From e2c2906931fdd07f499a16f327a09e26ec3c3565 Mon Sep 17 00:00:00 2001 From: Mihoub Date: Tue, 17 Sep 2024 09:46:49 +0200 Subject: [PATCH] fix(ci): update workflow --- .github/workflows/staging.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/staging.yml b/.github/workflows/staging.yml index cf3601f..b177abf 100644 --- a/.github/workflows/staging.yml +++ b/.github/workflows/staging.yml @@ -22,9 +22,9 @@ jobs: - name: Build client (Vite.js) run: | - npm i --prefix client - npm run build --prefix client - cp -r client/dist/* server/public/ + cd client + npm i + npm run build --emptyOutDir --outDir '../server/public' - name: Build server (Bun) run: |