Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Tenzing
/
banners-with-skip
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
095c114e
authored
2017-11-29 12:58:38 -0500
by
Jeff Balicki
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
last deploy
1 parent
810c7ab7
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
8 deletions
deploy.php
deploy.php
View file @
095c114
<?php
#webhook.php
echo
"finally working<br/>"
;
if
(
$_POST
[
'payload'
]
)
{
// Only respond to POST requests from Github
$cmd
=
shell_exec
(
"git pull 2>&1"
);
// If there is already a repo, just run a git pull to grab the latest changes
shell_exec
(
"git pull"
);
die
(
"done "
.
mktime
());
}
#for debugging
echo
$cmd
;
die
(
"<br/>done "
.
mktime
());
?>
\ No newline at end of file
...
...
Please
register
or
sign in
to post a comment