Fix pipeline
This commit is contained in:
parent
ee5a4045e9
commit
22646025e4
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user