deploy step

test
dan 2020-10-26 18:01:01 -06:00
parent c629d2fc2a
commit f04b5c7895
1 changed files with 3 additions and 7 deletions

View File

@ -7,15 +7,10 @@ steps:
commands: commands:
- apt update - apt update
- apt install tree - apt install tree
- cd Server/src
- ls
- cd ../../
- cd Client - cd Client
- npm install - npm install
- node node_modules/@angular/cli/bin/ng build --prod --configuration=production - node node_modules/@angular/cli/bin/ng build --prod --configuration=production
- cd ../ - cd ../Server/www
- tree -a -I 'node_modules'
- cd Server/www
- ls - ls
when: when:
event: event:
@ -24,7 +19,8 @@ steps:
- name: deploy - name: deploy
image: node image: node
commands: commands:
- node --version - cd Server/www
- ls
when: when:
event: event:
- promote - promote