#!/bin/bash
#pipelines remote ssh server onpremise RSBRI IP 192.168.200.100
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
