Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
re-kirby
Project
Project
Details
Activity
Releases
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
santiago duque
re-kirby
Commits
f8f2d60b
Commit
f8f2d60b
authored
May 01, 2026
by
santiago duque
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added deploy php
parent
56745932
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
0 deletions
+19
-0
config.codekit3
config.codekit3
+8
-0
deploy.php
deploy.php
+11
-0
No files found.
config.codekit3
View file @
f8f2d60b
...
@@ -17,6 +17,14 @@
...
@@ -17,6 +17,14 @@
"oAP" : "\/.gitignore",
"oAP" : "\/.gitignore",
"oF" : 0
"oF" : 0
},
},
"\/deploy.php" : {
"cB" : 0,
"ft" : 8192,
"hM" : 0,
"oA" : 0,
"oAP" : "\/deploy.php",
"oF" : 0
},
"\/src\/css\/shared.scss" : {
"\/src\/css\/shared.scss" : {
"aP" : 1,
"aP" : 1,
"bl" : 0,
"bl" : 0,
...
...
deploy.php
0 → 100644
View file @
f8f2d60b
<?php
$secret
=
'capiIs-kleinerJunge'
;
$token
=
$_SERVER
[
'HTTP_X_GITLAB_TOKEN'
]
??
''
;
if
(
$token
!==
$secret
)
{
http_response_code
(
403
);
die
(
'Forbidden'
);
}
shell_exec
(
'git pull 2>&1'
);
echo
'Deployed!'
;
\ 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