From 0dd8ee1ab6c21fb4d20bce9cf6fc64842e0249c7 Mon Sep 17 00:00:00 2001 From: Robert Marshall Date: Mon, 26 Aug 2019 10:00:55 +0100 Subject: [PATCH] Attempt to publish output --- Infrastructure/.drone.yml | 24 +++++++++++++++++------- 1 file changed, 17 insertions(+), 7 deletions(-) diff --git a/Infrastructure/.drone.yml b/Infrastructure/.drone.yml index 8203c77..003dda1 100644 --- a/Infrastructure/.drone.yml +++ b/Infrastructure/.drone.yml @@ -4,11 +4,21 @@ name: default clone: skip_verify: true +volumes: + - name: output + host: + path: /var/www/Website + steps: -- name: build - image: mcr.microsoft.com/dotnet/core/sdk:2.2 - commands: - - curl -sL https://deb.nodesource.com/setup_12.x | bash - - - apt-get install -y nodejs - - chmod +x ./build.sh - - ./build.sh \ No newline at end of file + - name: build and publish + image: mcr.microsoft.com/dotnet/core/sdk:2.2 + commands: + - curl -sL https://deb.nodesource.com/setup_12.x | bash - + - apt-get install -y nodejs + - chmod +x ./build.sh + - ./build.sh + volumes: + - name: output + path: /output + commands: + - cp -r ./output/* /output \ No newline at end of file