[Fixed]-Perform actions on server after CircleCI deployment

1👍

✅

I solved the problem by putting a post_deploy.sh file on the server, and putting this line on the circle.yml:
ssh -i ~/.ssh/id_myhost user@server 'post_deploy.sh'
It executes the instructions in the post_deploy.sh file, which is exactly what I wanted.

Leave a comment