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 - main
commands: commands:
sudo apk update - sudo apk update
sudo apk add rsync - sudo apk add rsync
eval $(ssh-agent -s) - eval $(ssh-agent -s)
mkdir -p ~/.ssh - mkdir -p ~/.ssh
echo "$RSYNC_KEY" > ~/.ssh/id_rsa - echo "$RSYNC_KEY" > ~/.ssh/id_rsa
chmod 600 ~/.ssh/id_rsa - chmod 600 ~/.ssh/id_rsa
ssh-add - ssh-add
echo "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config - echo "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config
rsync -rP public/ "$${USER}@$${HOST}:$${PATH}" - rsync -rP public/ "$${USER}@$${HOST}:$${PATH}"