Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
deployer
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Gruppo Sistemisti
deployer
Commits
a5987e1d
Commit
a5987e1d
authored
Nov 18, 2020
by
Mattia Rizzolo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
support running scripts specified on the command
Signed-off-by:
Mattia Rizzolo
<
mapreri@ubuntu.com
>
parent
01a85736
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
cron.sh
cron.sh
+7
-0
No files found.
cron.sh
View file @
a5987e1d
...
@@ -44,7 +44,14 @@ run_script() (
...
@@ -44,7 +44,14 @@ run_script() (
)
)
if
[
$#
-ne
0
]
;
then
for
i
in
"
$@
"
;
do
script
=
"
$base
/
$i
"
run_script
"
$script
"
done
else
# Try to deploy all the websites
# Try to deploy all the websites
for
script
in
"
${
base
}
/scripts/"
*
;
do
for
script
in
"
${
base
}
/scripts/"
*
;
do
run_script
"
$script
"
run_script
"
$script
"
done
done
fi
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