Fix misformatting in CI rules
continuous-integration/drone/push Build is failing Details

This commit is contained in:
kayomn 2023-08-19 19:38:36 +01:00
parent 0016f79ef4
commit 9dcaf4a10a
1 changed files with 9 additions and 9 deletions

View File

@ -25,12 +25,12 @@ steps:
- main
commands:
sudo apk update
sudo apk add rsync
eval $(ssh-agent -s)
mkdir -p ~/.ssh
echo "$RSYNC_KEY" > ~/.ssh/id_rsa
chmod 600 ~/.ssh/id_rsa
ssh-add
echo "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config
rsync -rP public/ "$${USER}@$${HOST}:$${PATH}"
- sudo apk update
- sudo apk add rsync
- eval $(ssh-agent -s)
- mkdir -p ~/.ssh
- echo "$RSYNC_KEY" > ~/.ssh/id_rsa
- chmod 600 ~/.ssh/id_rsa
- ssh-add
- echo "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config
- rsync -rP public/ "$${USER}@$${HOST}:$${PATH}"