Update push_test_server.yml

Signed-off-by: raller1028 <57336867+raller1028@users.noreply.github.com>
This commit is contained in:
raller1028 2023-02-16 18:32:47 +08:00 committed by GitHub
parent 8425011e73
commit 08ed9933ee
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -62,7 +62,7 @@ jobs:
- name: copy tar to target host - name: copy tar to target host
shell: bash shell: bash
run: | run: |
sshpass -p "${{ secrets.ssh_password }}" scp -r -o StrictHostKeyChecking=no -P ${{ secrets.ssh_port }} ./dist/*.gz root@${{ secrets.ssh_ip }}:/var/www/download sshpass -p "${{ secrets.ssh_password }}" scp -r -o StrictHostKeyChecking=no -P ${{ secrets.ZEROTIER_PORT }} ./dist/*.gz root@${{ secrets.ZEROTIER_IP }}:/var/www/download
echo "ping success" echo "ping success"
- name: send message - name: send message
run: | run: |