Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
Test
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Juliper
Test
Commits
455f186c
Commit
455f186c
authored
Apr 18, 2017
by
Juliper
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
For Deploy and Clone to Server app.del.ac.id
parent
281136a3
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
0 deletions
+20
-0
clone.php
clone.php
+10
-0
deploy.php
deploy.php
+10
-0
No files found.
clone.php
0 → 100644
View file @
455f186c
<?php
function
execPrint
(
$command
)
{
$result
=
shell_exec
(
$command
.
" 2>&1"
);
echo
$result
;
}
echo
"<pre>"
;
execPrint
(
"/usr/bin/git clone https://if415014@students.del.ac.id:dreamon1*@gitlab.del.ac.id/juliper19/Test.git"
);
echo
"</pre>"
;
?>
\ No newline at end of file
deploy.php
0 → 100644
View file @
455f186c
<?php
function
execPrint
(
$command
)
{
$result
=
shell_exec
(
$command
.
" 2>&1"
);
echo
$result
;
}
echo
"<pre>"
;
execPrint
(
"/usr/bin/git pull https://if415014@students.del.ac.id:dreamon1*@gitlab.del.ac.id/juliper19/Test.git master"
);
echo
"</pre>"
;
?>
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment