Created
October 26, 2019 05:06
-
-
Save matysanchez/7c0607c1665f7143766b9634c66d0615 to your computer and use it in GitHub Desktop.
Easy setup to create a CD process for any VM using GitHub webhooks
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
<?php | |
$command = exec('sudo ./update.sh'); | |
print_r($command); | |
?> |
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
#!/bin/bash | |
cd wp-content/themes/wordcamp-guadalajara | |
git pull | |
npm install | |
gulp minifycss |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment