Fix pipeline
This commit is contained in:
parent
ee5a4045e9
commit
22646025e4
@ -40,12 +40,13 @@ jobs:
|
||||
env:
|
||||
NODES: 192.168.1.236 192.168.1.220
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: deploy
|
||||
run: |
|
||||
echo LS1
|
||||
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 && echo LS2 && ls"
|
||||
# echo LS1
|
||||
# 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 && echo LS2 && ls"
|
||||
|
||||
ssh -o StrictHostKeyChecking=accept-new root@$HOST echo "Setting up host keys"
|
||||
for NODE in $NODES; do
|
||||
|
Loading…
Reference in New Issue
Block a user