diff --git a/.gitea/workflows/unittests.yml b/.gitea/workflows/unittests.yml index 5621fe0..9b851e7 100644 --- a/.gitea/workflows/unittests.yml +++ b/.gitea/workflows/unittests.yml @@ -8,8 +8,6 @@ on: jobs: unittests: runs-on: [amd64, moon] - env: - NODES: 192.168.1.236 192.168.1.220 steps: - uses: actions/checkout@v4 - uses: actions/setup-go@v3 @@ -19,9 +17,14 @@ jobs: run: | make test deploy-dev: + runs-on: [amd64, moon] + env: + NODES: 192.168.1.236 192.168.1.220 + steps: - name: deploy run: | docker run --rm --privileged -ti -v ${shell pwd}:/srv golang:1.20-buster /bin/sh -c "cd /srv && go build" + ssh -o StrictHostKeyChecking=accept-new root@$HOST echo "Setting up host keys" for NODE in $NODES; do echo "\033[0;32mDeploying $NODE\033[0m"