29 lines
504 B
YAML
29 lines
504 B
YAML
kind: pipeline
|
|
type: docker
|
|
name: default
|
|
steps:
|
|
- name: build_client
|
|
image: node
|
|
commands:
|
|
- "cd Server/src"
|
|
- "ls"
|
|
- "cd ../../"
|
|
- "cd Client"
|
|
- "npm install"
|
|
- "node node_modules/@angular/cli/bin/ng build --prod --configuration=production"
|
|
- "cd ../"
|
|
- "apt install tree"
|
|
- "tree"
|
|
when:
|
|
event:
|
|
- push
|
|
- pull_request
|
|
- name: deploy
|
|
image: node
|
|
commands:
|
|
- node --version
|
|
when:
|
|
event:
|
|
- promote
|
|
target:
|
|
- production |