cergey-obr
1/17/2018 - 10:31 AM

bitbucket-pipelines.yml

mage: node:6.9.0

pipelines:
  default:
    - step:
        script: # Modify the commands below to build your repository.
          - node --version
          - npm --version
          - npm install -g gulp ts-node typescript typings
          - npm install --unsafe-perm
          - apt-get update
          - apt-get install ncftp
          - npm run build --aot
          - cd ./dist
          - ncftpput -v -u "$FTP_USER" -p "$FTP_PASSWORD" -R $FTP_HOST /html/dist *