Chmod
This commit is contained in:
@@ -79,6 +79,10 @@ pipeline {
|
||||
remoteDirectory: "$APP_REMOTE_PATH",
|
||||
sourceFiles: "package-lock.json",
|
||||
),
|
||||
sshTransfer(
|
||||
cleanRemote: false,
|
||||
execCommand: "sh chmod +x $APP_REMOTE_PATH/start.sh"
|
||||
),
|
||||
sshTransfer(
|
||||
cleanRemote: false,
|
||||
execCommand: "sh $APP_REMOTE_PATH/docker/rebuild.sh"
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
#!/bin/sh
|
||||
cd /home/node/app
|
||||
ls -la
|
||||
echo "Lanzando migraciones e iniciando servidor"
|
||||
npm config set @sf-alvar:registry https://git.savefamilygps.net/api/packages/SaveFamily/npm/
|
||||
npm install
|
||||
|
||||
Reference in New Issue
Block a user