Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pipeline:
- install:
- image: node:latest
- commands:
- - yarn install
- lint:
- image: node:latest
- commands:
- - yarn lint
- test:
- image: node:latest
- commands:
- - yarn test
- docker:
- image: plugins/docker
- settings:
- repo:
- from_secret: spellshot/api
- username:
- from_secret: docker_username
- password:
- from_secret: docker_password
- ssh:
- image: appleboy/drone-ssh
- secrets:
- - source: ssh_dev_host
- target: ssh_host
- - source: ssh_dev_user
- target: ssh_user
- - source: ssh_dev_password
- target: ssh_password
- - source: ssh_dev_port
- target: ssh_port
- - source: ssh_dev_deploy_path
- target: ssh_deploy_path
- envs: [ ssh_deploy_path ]
- script:
- - ls -l
- branches: [master, develop]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement