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