Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M3P2 HTML Generator
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
12
Issues
12
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
M3P2
M3P2 HTML Generator
Commits
c55dd92e
Commit
c55dd92e
authored
Mar 18, 2019
by
Administrator
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Pipe STDERR, so we can debug why the server does nothing.
parent
c4abf36c
Pipeline
#13
passed with stage
in 1 minute and 3 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
m3-p2.php
user/plugins/m3-p2/m3-p2.php
+2
-2
No files found.
user/plugins/m3-p2/m3-p2.php
View file @
c55dd92e
...
@@ -80,10 +80,10 @@ class M3P2Plugin extends Plugin
...
@@ -80,10 +80,10 @@ class M3P2Plugin extends Plugin
*/
*/
public
function
onPageInitialized
()
public
function
onPageInitialized
()
{
{
$out
=
"Trying to sync content with
gitl
ab…
\n
"
;
$out
=
"Trying to sync content with
GitL
ab…
\n
"
;
# shell pwd is project root
# shell pwd is project root
$out
.=
shell_exec
(
"cd user/pages && git pull --rebase
origin master
"
)
.
"
\n
"
;
$out
.=
shell_exec
(
"cd user/pages && git pull --rebase
--autostash origin master 2>&1
"
)
.
"
\n
"
;
$out
.=
shell_exec
(
"fortune | cowsay -e Oø -f dragon"
)
.
"
\n
"
;
$out
.=
shell_exec
(
"fortune | cowsay -e Oø -f dragon"
)
.
"
\n
"
;
$out
.=
"Done."
;
$out
.=
"Done."
;
...
...
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