build and deploy only on master
All checks were successful
SimcoDash/simcompanies-dashboard/pipeline/head This commit looks good

This commit is contained in:
2020-05-16 00:08:42 +02:00
parent 8caebbc807
commit db122f3af8
3 changed files with 3 additions and 3 deletions

View File

@@ -2,7 +2,7 @@
cd ./frontend
if test "$1" = "edit-jenkinsfile"
if test "$1" = "master"
then
echo 'Install neccessary Packages'
yarn install

View File

@@ -1,6 +1,6 @@
#!/usr/bin/env sh
if test "$1" = "edit-jenkinsfile"
if test "$1" = "master"
then
echo 'Stop node process'
ssh -i /etc/ssh/simco_key simco-jenkins@gitea.oliver.boehlk.io "killall node"

View File

@@ -1,6 +1,6 @@
#!/usr/bin/env sh
if test "$1" = "edit-jenkinsfile"
if test "$1" = "master"
then
echo 'Remove old frontend folder'
ssh -i /etc/ssh/simco_key simco-jenkins@gitea.oliver.boehlk.io "rm -r ~/simco-dashboard/backend/frontend"