Attempt to publish output
This commit is contained in:
parent
a00a4ee026
commit
0dd8ee1ab6
1 changed files with 17 additions and 7 deletions
|
@ -4,11 +4,21 @@ name: default
|
||||||
clone:
|
clone:
|
||||||
skip_verify: true
|
skip_verify: true
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
- name: output
|
||||||
|
host:
|
||||||
|
path: /var/www/Website
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: build
|
- 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:
|
||||||
|
- name: output
|
||||||
|
path: /output
|
||||||
|
commands:
|
||||||
|
- cp -r ./output/* /output
|
Loading…
Add table
Add a link
Reference in a new issue