#!/bin/bash
/bin/bash -c "scp -o StrictHostKeyChecking=no -r -i /key/process_maker.pem /var/lib/go-agent/pipelines/Deploy/ ubuntu@ec2-54-252-242-51.ap-southeast-2.compute.amazonaws.com:/opt/processmaker/"

#!/bin/bash
/bin/bash -c "ssh -o StrictHostKeyChecking=no -i /key/process_maker.pem ubuntu@ec2-54-252-163-180.ap-southeast-2.compute.amazonaws.com 'sudo chmod -R 777 /opt/processmaker/'"
/bin/bash -c "scp -o StrictHostKeyChecking=no -r -i /key/process_maker.pem /var/lib/go-agent/pipelines/Deploy/ ubuntu@ec2-54-252-163-180.ap-southeast-2.compute.amazonaws.com:/opt/processmaker/"

Update server automate script commands
Update server automate script commands
