diff --git a/.github/workflows/build-push-docker.yml b/.github/workflows/build-push-docker.yml index 91bdde5..3ee42cd 100644 --- a/.github/workflows/build-push-docker.yml +++ b/.github/workflows/build-push-docker.yml @@ -157,6 +157,18 @@ jobs: rm: true strip_components: 2 + - name: copy shell scripts to arm seoul 2 + uses: appleboy/scp-action@master + with: + host: ${{ secrets.SSH_HOST }} + username: root + password: ${{ secrets.SSH_PASSWORD }} + port: ${{ secrets.SSH_PORT }} + source: "./source/src/main/java/io/wdd/source/shell/*" + target: "/data/github-action/shell/" + rm: true + strip_components: 2 + - name: Send Agent Latest Version Info To RabbitMQ.OctopusToServer # You may pin to the exact commit or the version. # uses: eferraris/rabbit-sender@aca1775ecffe3bce07cf6503089008fa20412e9f diff --git a/source/src/main/java/io/wdd/source/shell/lib/wdd-lib-sys.sh b/source/src/main/java/io/wdd/source/shell/lib/wdd-lib-sys.sh index 304175b..3f1b8de 100644 --- a/source/src/main/java/io/wdd/source/shell/lib/wdd-lib-sys.sh +++ b/source/src/main/java/io/wdd/source/shell/lib/wdd-lib-sys.sh @@ -149,7 +149,7 @@ wget https://raw.githubusercontent.com/zeaslity/ProjectOctopus/main/source/src/m echo "y -" | gcloud compute instances delete tokyo-amd64-13 --project=compact-lacing-371804 --zone=asia-northeast1-b +" | gcloud compute instances delete tokyo-amd64-07 --project=compact-lacing-371804 --zone=asia-northeast1-b apt-cache madison openjdk-11-jdk | head -n 1 | awk '{print$3}'