git - drone - ghost - guacamole - rocket chat https://sigyl.com/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
 
 
 
 
 

25 lines
466 B

  1. def scp(target):
  2. return {
  3. "name": "scp files",
  4. "image": "appleboy/drone-scp",
  5. "settings": {
  6. "host": {
  7. "from_secret": "ssh-host",
  8. },
  9. "username": {
  10. "from_secret": "ssh-user",
  11. },
  12. "password": {
  13. "from_secret": "ssh-password",
  14. },
  15. "port": {
  16. "from_secret": "ssh-port",
  17. },
  18. "command_timeout": "2m",
  19. "target": target,
  20. "source": [
  21. ".",
  22. ],
  23. },
  24. }