kind: pipeline name: default steps: - name: build image: node commands: - npm install - npm run build - name: deploy image: node volumes: - name: www-next path: /www-next commands: - npm install - npm run build - rm -rf /www-next/* /www-next/.[!.]* - cp -r ./ /www-next/ - npm install --prefix /www-next volumes: - name: www-next host: path: /Main/www-next