Added vanilla predeploy script
This commit is contained in:
parent
db6769f0e7
commit
7c5a6dd326
1 changed files with 11 additions and 0 deletions
11
dist/predeploy-vanilla.sh
vendored
Normal file
11
dist/predeploy-vanilla.sh
vendored
Normal file
|
@ -0,0 +1,11 @@
|
|||
#!/bin/bash
|
||||
echo "Creating vanilla predeploy!"
|
||||
# Set path correclty
|
||||
if [[ $PWD == *"dist" ]];
|
||||
then cd ..
|
||||
fi
|
||||
# Install node dependencies
|
||||
echo "Installing node depencencies!"
|
||||
npm i
|
||||
echo "Building Docker Image!"
|
||||
npm run build:all
|
Reference in a new issue