Skip to content

Instantly share code, notes, and snippets.

@JacobDB
Last active April 24, 2017 13:43
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
Example settings for triggering a gulp task when using https://github.com/vicenteguerra/git-deploy
<?php
define('TOKEN', 'some-secret-token');
define('REMOTE_REPOSITORY', 'git@github.com:username/repository.git');
define('DIR','/var/www/repository/');
define('BRANCH','refs/heads/master');
define('LOGFILE', 'log.txt');
define('GIT', '/usr/bin/git');
define('AFTER_PULL', '/usr/bin/node ./node_modules/gulp/bin/gulp.js default --dist');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment