CasaOS - A simple, easy-to-use, elegant open-source Personal Cloud system.
Update push_test_server.yml
raller1028151aa037bb4e
diff --git a/.github/workflows/push_test_server.yml b/.github/workflows/push_test_server.ymlindex 7c59e4a..07b6292 100644--- a/.github/workflows/push_test_server.yml+++ b/.github/workflows/push_test_server.yml@@ -45,11 +45,15 @@ jobs:# either 'goreleaser' (default) or 'goreleaser-pro'distribution: goreleaserversion: latest- args: release --rm-dist+ args: release --rm-dist --snapshotenv:GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}# Your GoReleaser Pro key, if you are using the 'goreleaser-pro' distribution# GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }}++ - name: remove migration file+ run: sudo find . -type f \( -name '*migration*' \) -delete+- name: install sshpassrun: sudo apt install sshpass --yes@@ -62,7 +66,7 @@ jobs:- name: copy tar to target hostshell: bashrun: |- sshpass -p "${{ secrets.ssh_password }}" scp -r -o StrictHostKeyChecking=no -P ${{ secrets.ZEROTIER_PORT }} ./dist/*.gz root@${{ secrets.ZEROTIER_IP }}:/var/www/download+ sshpass -p "${{ secrets.ssh_password }}" scp -r -o StrictHostKeyChecking=no -P 22 ./dist/*.gz [email protected]:/var/www/downloadecho "ping success"- name: send messagerun: |