Skip to content

Commit

Permalink
fixed build mode CI/CD
Browse files Browse the repository at this point in the history
Signed-off-by: StoneyDSP <nathanjhood@googlemail.com>
  • Loading branch information
nathanjhood committed Oct 16, 2024
1 parent a14e1c0 commit de9b45d
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 2 deletions.
33 changes: 33 additions & 0 deletions .env.production
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
## NodeJS
NODE_ENV=production
# NODE_V8_COVERAGE=coverage
NODE_COMPILE_CACHE=.cache
# NODE_DISABLE_COMPILE_CACHE=1
# NO_COLORS=0
# NODE_DISABLE_COLORS=1
# FORCE_COLOR=1
# NODE_REPL_HISTORY=./repl_history
# NODE_NO_WARNINGS=0
# NODE_PENDING_DEPRECATION=1
## React
BUILD_DIR=dist
PUBLIC_URL=https://nathanjhood.github.io/
HOST=nathanjhood.github.io
PORT=80
HTTPS=true
WDS_SOCKET_HOST=window.location.hostname
WDS_SOCKET_PATH=/esbuild
WDS_SOCKET_PORT=window.location.port
FAST_REFRESH=false
VERBOSE=false
## Debug
# DEBUG=
# DEBUG_HIDE_DATE=
# DEBUG_COLORS=
# DEBUG_DEPTH=
# DEBUG_SHOW_HIDDEN=
# DEBUG=
# DEBUG_HIDE_DATE=
# DEBUG_COLORS=
# DEBUG_DEPTH=
# DEBUG_SHOW_HIDDEN=
3 changes: 1 addition & 2 deletions .github/workflows/node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,7 @@ jobs:
shell: bash
working-directory: ${{ github.workspace }}
run: |
cp .env .env.local
cp .env.test .env.test.local
cp .env.template .env.local
cp .env.development .env.development.local
cp .env.production .env.production.local
Expand Down

0 comments on commit de9b45d

Please sign in to comment.