Merge pull request 'chaged known_hosts' (#11) from mitch into develop
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Reviewed-on: https://gitea.mitchecp.com/gitea/test/pulls/11
This commit is contained in:
commit
9f342c2c40
@ -25,7 +25,7 @@ steps:
|
||||
- mkdir -p ~/.ssh
|
||||
- echo "$SSH_KEY" > ~/.ssh/mitchecp.pem
|
||||
- chmod 600 ~/.ssh/mitchecp.pem
|
||||
- ssh-keyscan www.mitchecp.com >> ~/.ssh/known_hosts
|
||||
- ssh-keyscan gitea.mitchecp.com >> ~/.ssh/known_hosts
|
||||
- ssh -i ~/.ssh/mitchecp.pem ec2-user@gitea.mitchecp.com "cd /home/ec2-user && touch woodpecker.created.develop.txt"
|
||||
when:
|
||||
branch:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user