mirror of
https://github.com/lemeow125/EquipmentTracker-Frontend.git
synced 2024-11-17 06:09:25 +08:00
Create .ssh folder on woodpecker actions
This commit is contained in:
parent
a28ae19e1f
commit
9912ff4034
1 changed files with 1 additions and 0 deletions
|
@ -9,6 +9,7 @@ steps:
|
||||||
image: alpine
|
image: alpine
|
||||||
commands:
|
commands:
|
||||||
- apk add --no-cache openssh-client
|
- apk add --no-cache openssh-client
|
||||||
|
- mkdir -p /root/.ssh/
|
||||||
- echo "$SSH_KEY" | tr -d '\r' > /root/.ssh/id_rsa
|
- echo "$SSH_KEY" | tr -d '\r' > /root/.ssh/id_rsa
|
||||||
- chmod 600 /root/.ssh/id_rsa
|
- chmod 600 /root/.ssh/id_rsa
|
||||||
- echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > /root/.ssh/config
|
- echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > /root/.ssh/config
|
||||||
|
|
Loading…
Reference in a new issue