Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
LakeDropsDrupalDev
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Docker
LakeDropsDrupalDev
Commits
39062079
Commit
39062079
authored
5 years ago
by
jurgenhaas
Browse files
Options
Downloads
Patches
Plain Diff
Optionaly push new project to the remote repository if L3D_GIT_REMOTE is defined
parent
23b6cc72
No related branches found
Branches containing commit
Tags
1.9.0-rc9
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
start.sh
+7
-0
7 additions, 0 deletions
start.sh
with
7 additions
and
0 deletions
start.sh
+
7
−
0
View file @
39062079
...
...
@@ -68,6 +68,13 @@ function create {
git add .
*
git commit
-am
"After site install"
# Push to remote git repository
if
[[
-n
${
L3D_GIT_REMOTE
}
]]
;
then
git remote add origin
"
$L3D_GIT_REMOTE
"
git pull
git push
fi
# Cleanup
if
[[
$L3D_CLEANUP
-eq
1
]]
;
then
docker-compose stop
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment