更新 .gitea/workflows/build_and_upload.yaml
All checks were successful
Build and Upload / Explore-Gitea-Actions (push) Successful in 32s
All checks were successful
Build and Upload / Explore-Gitea-Actions (push) Successful in 32s
This commit is contained in:
parent
f2d1ae2700
commit
c6bb44198f
@ -14,5 +14,5 @@ jobs:
|
|||||||
- run: cd ${{ gitea.workspace }} && ./hugo build
|
- run: cd ${{ gitea.workspace }} && ./hugo build
|
||||||
#- run: cd ${{ gitea.workspace }} && ssh -o StrictHostKeyChecking=no -i ./id_rsa root@123.60.145.249 "rm -rf /opt/1panel/apps/openresty/openresty/www/sites/blog.xn--ghqz22d40r52n.com/index/*"
|
#- run: cd ${{ gitea.workspace }} && ssh -o StrictHostKeyChecking=no -i ./id_rsa root@123.60.145.249 "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@123.60.145.249:/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@123.60.145.249:/opt/1panel/apps/openresty/openresty/www/sites/blog.xn--ghqz22d40r52n.com/index/
|
||||||
- run: curl "https://api.chuckfang.com/642ae6dd/博客生成" -H "Content-Type: text/plain" -d "${{ gitea.event.commits[0].message }} ${{ job.status }}"
|
- run: curl "https://api.chuckfang.com/642ae6dd/博客生成/${{ job.status }}?url=https://blog.xn--ghqz22d40r52n.com"
|
||||||
- run: echo "🍏 This job's status is ${{ job.status }}."
|
- run: echo "🍏 This job's status is ${{ job.status }}."
|
Loading…
x
Reference in New Issue
Block a user