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
bd6bc27f
authored
2017-11-29 12:03:24 -0500
by
Jeff Balicki
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
deploy
1 parent
469d9e26
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
deploy-copy.php → deploy.php
deploy
-copy
.php
→
deploy.php
View file @
bd6bc27
...
...
@@ -7,9 +7,8 @@ $LOCAL_REPO = "{$LOCAL_ROOT}/{$LOCAL_REPO_NAME}";
$REMOTE_REPO
=
"git@git.gotenzing.com:jeffmbalicki/banners-with-skip.git"
;
$BRANCH
=
"deploy"
;
if
(
$_POST
[
'payload'
]
)
{
// Only respond to POST requests from Github
echo
'payload'
;
if
(
file_exists
(
$LOCAL_REPO
)
)
{
// If there is already a repo, just run a git pull to grab the latest changes
...
...
@@ -23,6 +22,6 @@ echo 'done';
die
(
"done "
.
mktime
());
}
}
?>
...
...
Please
register
or
sign in
to post a comment