Skip to content

Instantly share code, notes, and snippets.

@JacobDB
Last active April 24, 2017 13:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JacobDB/f1cd205e698f904242ee420a4c50e340 to your computer and use it in GitHub Desktop.
Save JacobDB/f1cd205e698f904242ee420a4c50e340 to your computer and use it in GitHub Desktop.
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