Skip to content

Commit

Permalink
fix: home fe config
Browse files Browse the repository at this point in the history
  • Loading branch information
tanhongit committed Nov 5, 2024
1 parent 3952463 commit 499d2b2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
4 changes: 1 addition & 3 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
#SOURCE_DIR=~/source
SOURCE_DIR=/home/user/cslant.com
SOURCE_DIR=/home/user/cslant.com/home

GIT_SSH_URL=[email protected]:cslant

HOME_NAME=home

# The name of the runner
WORKER_NAME="CSlant Home"

Expand Down
2 changes: 1 addition & 1 deletion setup/functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ worker() {
node_runner() {
echo '🏃‍♂️ Running node...'

cd "$HOME_DIR" || exit
cd "$HOME_FE_DIR" || exit

if [ "$INSTALLER" = "yarn" ]; then
yarn "$@"
Expand Down
2 changes: 1 addition & 1 deletion setup/variables.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# shellcheck disable=SC2034
CURRENT_DIR=$(pwd)
SOURCE_DIR=$(readlink -f "$SOURCE_DIR")
HOME_DIR="$SOURCE_DIR/$HOME_NAME"
HOME_DIR="$SOURCE_DIR"
HOME_FE_DIR="$HOME_DIR/home-fe"
HOME_API_DIR="$HOME_DIR/home-api"
ENV=${ENV:-prod}
Expand Down

0 comments on commit 499d2b2

Please sign in to comment.