app에서 php,nodejs package를 사전 준비

This commit is contained in:
Hide_D committed 2022-04-09 22:28:21 +09:00
1 parent 1b26fcadbf
commit 7e7bde05b8
3 files changed
+10 -3

No files matched your search

+6
View File
@@ -15,6 +15,12 @@ if [ ! -f "$samRoot/index.php" ]; then
chown -R www-data:www-data $wwwRoot
gosu www-data git clone $gameGitPath $samRoot
gosu www-data git checkout $gameGitBranch
pushd $samRoot
gosu www-data npm ci
gosu www-data npm run build -- --env target=gateway
gosu www-data php composer.phar install
popd
fi
if [ "$HIDCHE_IMAGE_USE_INTERNAL" = "yes" ] && [ ! -d "$imageRoot" ]; then