Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c9a810 commit a7223a9Copy full SHA for a7223a9
deploy.sh
@@ -1,8 +1,6 @@
1
#!/bin/sh
2
set -eu
3
4
-DEPLOY_TO="$(grep -E 'jumpbox-[0-9]+' /etc/ssh/ssh_known_hosts | awk '{ print $1 }' | cut -d, -f1 | xargs)"
5
-
6
-for server in $DEPLOY_TO; do
+govuk_node_list -c jumpbox | while read server; do
7
rsync -av --delete --exclude='.git' "$(pwd)/" "deploy@${server}":/usr/local/share/govuk-fabric/
8
done
0 commit comments