Only run the composer and npm install if the folder is not there
This commit is contained in:
parent
0084eb8cd3
commit
a212b1beee
1 changed files with 2 additions and 2 deletions
|
@ -4,10 +4,10 @@ echo "➜ Set Correct Permissions"
|
||||||
chmod -R 777 storage
|
chmod -R 777 storage
|
||||||
|
|
||||||
echo "➜ Install Composer Dependencies"
|
echo "➜ Install Composer Dependencies"
|
||||||
composer install
|
[[ -d vendor ]] || composer install
|
||||||
|
|
||||||
echo "➜ Install NPM Dependencies"
|
echo "➜ Install NPM Dependencies"
|
||||||
npm install
|
[[ -d node_modules ]] || npm install
|
||||||
|
|
||||||
echo "➜ Build Project Assets"
|
echo "➜ Build Project Assets"
|
||||||
npx gulp compile
|
npx gulp compile
|
||||||
|
|
Loading…
Reference in a new issue