This commit is contained in:
Robert Marshall 2019-08-26 10:01:44 +01:00
parent 0dd8ee1ab6
commit 5ba494855e

View file

@ -5,20 +5,20 @@ clone:
skip_verify: true skip_verify: true
volumes: volumes:
- name: output - name: output
host: host:
path: /var/www/Website path: /var/www/Website
steps: steps:
- name: build and publish - name: build and publish
image: mcr.microsoft.com/dotnet/core/sdk:2.2 image: mcr.microsoft.com/dotnet/core/sdk:2.2
commands: commands:
- curl -sL https://deb.nodesource.com/setup_12.x | bash - - curl -sL https://deb.nodesource.com/setup_12.x | bash -
- apt-get install -y nodejs - apt-get install -y nodejs
- chmod +x ./build.sh - chmod +x ./build.sh
- ./build.sh - ./build.sh
volumes: volumes:
- name: output - name: output
path: /output path: /output
commands: commands:
- cp -r ./output/* /output - cp -r ./output/* /output