mirror of
https://github.com/appleboy/drone-ssh.git
synced 2025-07-02 21:52:51 +08:00
chore: add drone env
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
parent
ac47ca3480
commit
f725d02d7b
3
DOCS.md
3
DOCS.md
@ -112,6 +112,8 @@ Example configuration for exporting custom secrets:
|
||||
```diff
|
||||
- name: ssh commands
|
||||
image: appleboy/drone-ssh
|
||||
environment:
|
||||
commit: ${DRONE_BUILD_NUMBER}
|
||||
settings:
|
||||
host: foo.com
|
||||
username: root
|
||||
@ -119,6 +121,7 @@ Example configuration for exporting custom secrets:
|
||||
port: 22
|
||||
+ envs:
|
||||
- aws_access_key_id
|
||||
- commit
|
||||
script:
|
||||
- export AWS_ACCESS_KEY_ID=$AWS_ACCESS_KEY_ID
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user