build and deploy only on master
All checks were successful
SimcoDash/simcompanies-dashboard/pipeline/head This commit looks good
All checks were successful
SimcoDash/simcompanies-dashboard/pipeline/head This commit looks good
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
cd ./frontend
|
||||
|
||||
if test "$1" = "edit-jenkinsfile"
|
||||
if test "$1" = "master"
|
||||
then
|
||||
echo 'Install neccessary Packages'
|
||||
yarn install
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user