added deploy frontend script
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:
@@ -8,6 +8,8 @@ then
|
||||
ssh -i /etc/ssh/simco_key simco-jenkins@gitea.oliver.boehlk.io "rm -r ~/simco-dashboard/backend"
|
||||
echo 'Copy backend to OlberryPi'
|
||||
scp -i /etc/ssh/simco_key -r backend simco-jenkins@gitea.oliver.boehlk.io:~/simco-dashboard
|
||||
echo 'Yarn install packages'
|
||||
ssh -i /etc/ssh/simco_key simco-jenkins@gitea.oliver.boehlk.io "cd ~/simco-dashboard/backend && yarn install"
|
||||
else
|
||||
echo "Skipping for non-master branch"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user