Skip to content

Instantly share code, notes, and snippets.

@appleboy
Created October 8, 2017 13:30
Show Gist options
  • Save appleboy/349b7cc40ec4621f71f4467366e744f7 to your computer and use it in GitHub Desktop.
Save appleboy/349b7cc40ec4621f71f4467366e744f7 to your computer and use it in GitHub Desktop.
drone scp config example.
scp_dev:
image: appleboy/drone-scp
pull: true
host: example.com
port: 22
username: deploy
target: /home/deploy/drone/${DRONE_REPO}
secrets:
- source: deploy_key
target: scp_key
source:
- release.tar.gz
- web.conf
- app.js
- config_folder
when:
branch: master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment