update: action script
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 1m29s

This commit is contained in:
moonlightwatch 2025-03-26 16:18:06 +08:00
parent 0bb356f71e
commit 3a79899061

View File

@ -12,6 +12,6 @@ jobs:
- run: cd ${{ gitea.workspace }} && chmod u+x hugo
- run: cd ${{ gitea.workspace }} && ./hugo build
- run: cd ${{ gitea.workspace }} && ssh -i ./id_rsa root@116.204.65.205 "rm -rf /opt/1panel/apps/openresty/openresty/www/sites/blog.xn--ghqz22d40r52n.com/index/*"
- run: cd ${{ gitea.workspace }} && scp -r -i ./id_rsa ./public/* root@116.204.65.205:/opt/1panel/apps/openresty/openresty/www/sites/blog.xn--ghqz22d40r52n.com/index/
- run: cd ${{ gitea.workspace }} && ssh -o StrictHostKeyChecking=no -i ./id_rsa root@116.204.65.205 "rm -rf /opt/1panel/apps/openresty/openresty/www/sites/blog.xn--ghqz22d40r52n.com/index/*"
- run: cd ${{ gitea.workspace }} && scp -o StrictHostKeyChecking=no -r -i ./id_rsa ./public/* root@116.204.65.205:/opt/1panel/apps/openresty/openresty/www/sites/blog.xn--ghqz22d40r52n.com/index/
- run: echo "🍏 This job's status is ${{ job.status }}."