Append output of update-webapp script to `logs/`
ci/woodpecker/push/woodpecker Pipeline was successful Details

This sort of reverts d6e0b84217, or at least a part of it. The reason is
that I would much rather have the logs also be in
`~/logs/update-slitdecision.log`, which is not what's being done before
this commit.
main
Rens Oliemans 2 months ago
parent 79ff101e20
commit ab146ba987
Signed by: rens
GPG Key ID: CD37836E088B896B

@ -7,7 +7,7 @@ pipeline:
- echo "$SSH_KEY" | ssh-add -
- mkdir -p ~/.ssh
- echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config
- ssh "$USER@$HOST" "update-webapp slitdecision"
- ssh "$USER@$HOST" "update-webapp slitdecision | tee -a logs/update-slitdecision.log 2>&1"
secrets: [ user, host, ssh_key ]
branches: main

Loading…
Cancel
Save