[ci] - 测试脚本copy

This commit is contained in:
zeaslity
2023-03-01 21:59:15 +08:00
parent 2f35e6792c
commit e274dd798b
2 changed files with 13 additions and 1 deletions

View File

@@ -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

View File

@@ -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}'