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 f9d3fb4 commit f19c39eCopy full SHA for f19c39e
deploy.sh
@@ -1,7 +1,7 @@
1
#!/bin/sh
2
set -eu
3
4
-DEPLOY_TO="$(grep -E 'jumpbox-[0-9]+' /etc/ssh/ssh_known_hosts | awk '{ print $1 }' | xargs)"
+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
7
rsync -av --delete --exclude='.git' "$(pwd)/" "deploy@${server}":/usr/local/share/govuk-fabric/
0 commit comments