fix: 权限问题
All checks were successful
Upload / Explore-Gitea-Actions (push) Successful in 59s

This commit is contained in:
moonlightwatch 2025-03-26 19:26:18 +08:00
parent 7cc9813c43
commit 3ac4dc0bce

View File

@ -1,5 +1,7 @@
#!/bin/bash
chmod 600 id_rsa
ssh -o StrictHostKeyChecking=no -i ./id_rsa root@116.204.65.205 "rm -rf /opt/1panel/apps/openresty/openresty/www/sites/www.xn--ghqz22d40r52n.com/index/*"
scp -o StrictHostKeyChecking=no -r -i ./id_rsa ./bg.jpg root@116.204.65.205:/opt/1panel/apps/openresty/openresty/www/sites/www.xn--ghqz22d40r52n.com/index/
scp -o StrictHostKeyChecking=no -r -i ./id_rsa ./bookmarks.html root@116.204.65.205:/opt/1panel/apps/openresty/openresty/www/sites/www.xn--ghqz22d40r52n.com/index/