-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbeam.sh
More file actions
24 lines (22 loc) · 806 Bytes
/
beam.sh
File metadata and controls
24 lines (22 loc) · 806 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/sh
# =================================================
# A shell script for deploying GIT super-projects to the cloud.
#
# @package Beam ("Beam Me Up, Scotty!")
# @author Scott Travis <scott.w.travis@gmail.com>
# @link http://github.com/swt83/sh-git-beam
# @license MIT License
# =================================================
# -------------------------------------------------
# Input your remote repositories.
# -------------------------------------------------
DESTINATION[0]="git@foobar.com:repo.git"
#DESTINATION[1]="git@foobar.com:repo.git"
#DESTINATION[2]="git@foobar.com:repo.git"
# -------------------------------------------------
# Engage.
# -------------------------------------------------
for D in "${DESTINATION[@]}"
do
sh .beam/transporter.sh "$D" "$1"
done