Created
October 8, 2017 13:30
-
-
Save appleboy/349b7cc40ec4621f71f4467366e744f7 to your computer and use it in GitHub Desktop.
drone scp config example.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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