Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- image: node:10.15.3
- pipelines:
- branches:
- develop:
- - step:
- name: Build and test website and deploy.
- caches:
- - node
- script:
- - yarn install
- - yarn test-build
- artifacts:
- - assets/**
- - step:
- name: Lets push the data to the Server.
- trigger: manual
- caches:
- - node
- script:
- - pipe: atlassian/sftp-deploy:0.4.1
- variables:
- USER: $SFTP_username
- PASSWORD: $SFTP_password
- SERVER: $SFTP_host
- REMOTE_PATH: /var/www/html/pipeline-http/test-website/
- DEBUG: 'true'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement