Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Paste
P409
bootstrap-git-deploy.bash
Active
Public
Actions
Authored by
yuvipanda
on Mar 17 2015, 9:18 PM.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Award Token
Flag For Later
Tags
Staging
Deployments
Referenced Files
F99596: bootstrap-git-deploy.bash
Mar 17 2015, 9:18 PM
2015-03-17 21:18:21 (UTC+0)
Subscribers
None
#!/bin/bash
cd
/srv/deployment
for
DIR in *
;
do
cd
/srv/deployment/
$DIR
for
SUBDIR in *
;
do
cd
/srv/deployment/
$DIR
/
$SUBDIR
git pull origin master
git submodule update --init
git deploy start
yes
|
git deploy sync
git update-server-info
done
done
Event Timeline
yuvipanda
edited the content of this paste.
(Show Details)
Mar 17 2015, 9:18 PM
2015-03-17 21:18:21 (UTC+0)
yuvipanda
changed the title of this paste from untitled to
bootstrap-git-deploy.bash
.
yuvipanda
updated the paste's language from
autodetect
to
bash
.
yuvipanda
added projects:
Staging
,
Deployments
.
yuvipanda
mentioned this in
T88442: Setup staging-tin as deployment host
.
Log In to Comment