Fix pipeline
Some checks failed
Unittests / unittests (push) Successful in 11s
Unittests / deploy-dev (push) Failing after 1m2s

This commit is contained in:
Adam Štrauch 2023-11-25 19:48:39 +01:00
parent ee5a4045e9
commit 22646025e4
Signed by: cx
GPG Key ID: 7262DAFE292BCE20

View File

@ -40,12 +40,13 @@ jobs:
env: env:
NODES: 192.168.1.236 192.168.1.220 NODES: 192.168.1.236 192.168.1.220
steps: steps:
- uses: actions/checkout@v4
- name: deploy - name: deploy
run: | run: |
echo LS1 # echo LS1
ls # ls
# docker run --rm --privileged -ti -v `pwd`:/srv golang:1.20-buster /bin/sh -c "cd /srv && go build" docker run --rm --privileged -ti -v `pwd`:/srv golang:1.20-buster /bin/sh -c "cd /srv && go build"
docker run --rm --privileged -ti -v `pwd`:/srv golang:1.20-buster /bin/sh -c "cd /srv && echo LS2 && ls" # docker run --rm --privileged -ti -v `pwd`:/srv golang:1.20-buster /bin/sh -c "cd /srv && echo LS2 && ls"
ssh -o StrictHostKeyChecking=accept-new root@$HOST echo "Setting up host keys" ssh -o StrictHostKeyChecking=accept-new root@$HOST echo "Setting up host keys"
for NODE in $NODES; do for NODE in $NODES; do