this fucking router that i hate

This commit is contained in:
Michał Gdula 2025-04-12 16:02:40 +01:00 committed by GitHub
parent 44e14e1273
commit 46e98473d0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -15,9 +15,9 @@ steps:
- mkdir -p ~/.ssh - mkdir -p ~/.ssh
- echo "$SSH_KEY" > ~/.ssh/id_rsa - echo "$SSH_KEY" > ~/.ssh/id_rsa
- chmod 600 ~/.ssh/id_rsa - chmod 600 ~/.ssh/id_rsa
- ssh -o StrictHostKeyChecking=no uncertainty@192.168.0.45 "rm $COPY_TO || true" - ssh -o StrictHostKeyChecking=no uncertainty@192.168.0.44 "rm $COPY_TO || true"
- scp -o StrictHostKeyChecking=no $COPY_FROM uncertainty@192.168.0.45:$COPY_TO - scp -o StrictHostKeyChecking=no $COPY_FROM uncertainty@192.168.0.44:$COPY_TO
- ssh -o StrictHostKeyChecking=no uncertainty@192.168.0.45 "doas service lynxie restart" - ssh -o StrictHostKeyChecking=no uncertainty@192.168.0.44 "doas service lynxie restart"
environment: environment:
COPY_FROM: lynxie COPY_FROM: lynxie
COPY_TO: /home/uncertainty/lynxie COPY_TO: /home/uncertainty/lynxie