Created
August 31, 2018 14:53
-
-
Save macghriogair/e1c30002e08475760f7e682a8d75486c to your computer and use it in GitHub Desktop.
[Deploy LXC + Git] deploy revision via remote script execution #lxc #deploy #git #semaphore #ci
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no <USER>@<HOST> lxc exec <CONTAINER_NAME> -- sudo -u www-data -I <PATH-TO-REMOTE-DEPLOY-SH> $REVISION |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment