summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaspars Skels <kaspars.skels@att.com>2019-09-04 16:19:11 -0500
committerKaspars Skels <kaspars.skels@att.com>2019-09-04 16:19:11 -0500
commitefadc4ce3b312b0addc72da246382f0f7910f884 (patch)
tree38607e12e8edad14d5daeebd94de15f835cf7a20
parentad20601a9ada09f617b1eb2864efedd5aaf0817a (diff)
Use Shipyard flags to enable more robust site updates
Change-Id: I0b0ec2172767cc0ecbea23ae6752a37cfda43949 Signed-off-by: Kaspars Skels <kaspars.skels@att.com>
-rwxr-xr-xtools/deploy.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/tools/deploy.sh b/tools/deploy.sh
index 6005f2b..aa04b2c 100755
--- a/tools/deploy.sh
+++ b/tools/deploy.sh
@@ -129,10 +129,13 @@ site_action() {
# Site deployment with Shipyard, see more details here
# https://airship-treasuremap.readthedocs.io/en/latest/authoring_and_deployment.html#deploy-site-with-shipyard
- sudo -E treasuremap/tools/airship shipyard create configdocs $SITE_NAME --directory=/target/collect
+ sudo -E treasuremap/tools/airship shipyard create configdocs \
+ $SITE_NAME --directory=/target/collect --replace
sudo -E treasuremap/tools/airship shipyard commit configdocs
- sudo -E treasuremap/tools/airship shipyard create action $1
+ sudo -E treasuremap/tools/airship shipyard create action \
+ --allow-intermediate-commits $1
+
sudo -E treasuremap/tools/gate/wait-for-shipyard.sh
}