mirror of
https://github.com/IT4Change/gradido.git
synced 2026-02-06 09:56:05 +00:00
try to fix deploy
This commit is contained in:
parent
c1be096bb8
commit
712f1d0c89
@ -1,5 +1,13 @@
|
||||
#!/bin/bash
|
||||
|
||||
SCRIPT_PATH=$(realpath $0)
|
||||
SCRIPT_DIR=$(dirname $SCRIPT_PATH)
|
||||
PROJECT_ROOT=$SCRIPT_DIR/../..
|
||||
|
||||
echo "Project root: $PROJECT_ROOT"
|
||||
echo "Script dir: $SCRIPT_DIR"
|
||||
echo "Script path: $SCRIPT_PATH"
|
||||
|
||||
# Ensure required tools are installed
|
||||
|
||||
# make sure correct node version is installed
|
||||
@ -28,7 +36,7 @@ fi
|
||||
|
||||
# check for some tools and install them, when missing
|
||||
# bun https://bun.com/install, faster packet-manager as yarn
|
||||
BUN_VERSION_FILE="$(dirname "$0")/../../.bun-version"
|
||||
BUN_VERSION_FILE="$PROJECT_ROOT/.bun-version"
|
||||
if [ ! -f "$BUN_VERSION_FILE" ]; then
|
||||
echo ".bun-version file not found at: $BUN_VERSION_FILE"
|
||||
exit 1
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user