From efadc4ce3b312b0addc72da246382f0f7910f884 Mon Sep 17 00:00:00 2001 From: Kaspars Skels Date: Wed, 4 Sep 2019 16:19:11 -0500 Subject: Use Shipyard flags to enable more robust site updates Change-Id: I0b0ec2172767cc0ecbea23ae6752a37cfda43949 Signed-off-by: Kaspars Skels --- tools/deploy.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'tools') 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 } -- cgit 1.2.3-korg