Merge pull request '.ssh/knownhosts' (#4) from mitch into develop
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Reviewed-on: https://gitea.mitchecp.com/gitea/test/pulls/4
This commit is contained in:
commit
bef29ed0f1
@ -16,6 +16,8 @@ steps:
|
||||
image: alpine:latest
|
||||
commands:
|
||||
- apk add --no-cache openssh-client
|
||||
- mkdir -p ~/.ssh
|
||||
- ssh-keyscan www.mitchecp.com >> ~/.ssh/known_hosts
|
||||
- ssh ec2-user@www.mitchecp.com "cd /home/ec2-user && touch aaa.txt"
|
||||
when:
|
||||
branch:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user