Update '.woodpecker.yml'
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Matěj Divecký 2022-12-03 20:29:14 +01:00
parent dda2afa99a
commit 9a53a354bb

View file

@ -6,19 +6,3 @@ pipeline:
- yarn
- yarn styles:watch
- hugo
deploy:
image: alpine
secrets:
- BOT_PRIVATE_KEY
commands:
- apk add openssh-client rsync
- mkdir -p $HOME/.ssh
- ssh-keyscan -t rsa nolog.cz >> $HOME/.ssh/known_hosts
- echo "$BOT_PRIVATE_KEY" > $HOME/.ssh/id_rsa
- chmod 0600 $HOME/.ssh/id_rsa
- rsync -avz --delete $HOME/public nolog-git@nolog.cz:/home/test-build
when:
event: push
branch: ${CI_REPO_DEFAULT_BRANCH}
path: *when_path