Post-deployment commands
In some projects, it is necessary to run commands after deployment. I'm creating another step just to run the post-deployment steps. But it would be nice to have the deployment and execution in just one step.
use this one: appleboy/ssh-action@master
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.
Feature added:
-
SCRIPT_BEFORE (optional, default '') Script to run on host machine before rsync. Single line or multiline commands. Execution is preformed by storing commands in .sh file and executing it via .bash over ssh
-
SCRIPT_AFTER (optional, default '') Script to run on host machine after rsync. Rsync output is stored in $RSYNC_STDOUT env variable.