#!/bin/bash
#pipelines remote ssh server onpremise RSIH IP 172.0.40.107
cd /var/www/html/inovadok-backend-simulasi
tanggal=$(date +'%Y%m%d_%H%M')
git checkout -b pull_$tanggal
git pull origin master

#restart app service nodejs pm2 (service berjalan pada user root)
pm2 restart inovadok-simulasi
exit
