Update 'drone-ci/README.md'
This commit is contained in:
		@@ -25,4 +25,31 @@ volumes:
 | 
			
		||||
- name: dockersock
 | 
			
		||||
  host:
 | 
			
		||||
    path: /var/run/docker.sock
 | 
			
		||||
...
 | 
			
		||||
...
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
# SSH 
 | 
			
		||||
 | 
			
		||||
```yaml
 | 
			
		||||
---
 | 
			
		||||
kind: pipeline
 | 
			
		||||
name: ssh deploy
 | 
			
		||||
 | 
			
		||||
steps:
 | 
			
		||||
- name: ssh commands
 | 
			
		||||
  image: appleboy/drone-ssh
 | 
			
		||||
  settings:
 | 
			
		||||
    host:
 | 
			
		||||
      from_secret: host
 | 
			
		||||
    username:
 | 
			
		||||
      from_secret: username
 | 
			
		||||
    password:
 | 
			
		||||
      from_secret: password
 | 
			
		||||
    port: 22
 | 
			
		||||
    script:
 | 
			
		||||
      - docker run --rm sthopeless/randompwd
 | 
			
		||||
      - docker image rm sthopeless/randompwd:latest
 | 
			
		||||
      - mkdir ~/test
 | 
			
		||||
      - rm -r ~/test
 | 
			
		||||
      - echo "This is a test."
 | 
			
		||||
```
 | 
			
		||||
		Reference in New Issue
	
	Block a user