Skip to content

Commit 8a3c49d

Browse files
committed
fix: remove NODE_ENV setting from GitHub Actions build step and update build script to pass arguments
1 parent 788498c commit 8a3c49d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/develop.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
run: yarn
3131

3232
- name: Build project
33-
run: NODE_ENV=development yarn build:web --mode development
33+
run: yarn build:web --mode development
3434

3535
- name: Copy build to remote host
3636
uses: appleboy/scp-action@v0.1.4

script/build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build() {
44
echo 'Building Hackertab...'
55
rm -rf dist
66
tsc
7-
vite build
7+
vite build "$@"
88
}
99

10-
build
10+
build "$@"

0 commit comments

Comments
 (0)