diff --git a/.woodpecker.yml b/.woodpecker.yml index 44cce69..eb7562b 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -20,7 +20,9 @@ steps: - mv site /tmp/ - rm * -fr - mv /tmp/site/* . - - echo "$SSH_KEY" | tr -d '\r' | ssh-add - + - echo "$SSH_KEY" > ~/.ssh/id_rsa + - echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config + - chmod -R 400 ~/.ssh - git add . - git commit -m "Build ${CI_BUILD_NUMBER}" - git push origin pages