blog-hexo/.drone.yml

22 lines
404 B
YAML
Raw Normal View History

2024-06-04 13:59:56 +08:00
---
kind: pipeline
type: exec
2024-06-04 14:15:33 +08:00
name: blog
2024-06-04 13:59:56 +08:00
steps:
2024-06-04 14:09:31 +08:00
- name: list
commands:
- ls -la /tmp
- ls -la .
- pwd
- whoami
2024-06-04 13:59:56 +08:00
- name: publish
commands:
2024-06-04 14:02:48 +08:00
- pwd
- ls -lah
- ls -lah public/
2024-06-04 13:59:56 +08:00
- cp -rf public/* /www/wwwroot/caddy/html/blog-hexo/
2024-06-04 14:14:20 +08:00
- ls -lah /www/wwwroot/
2024-06-04 14:02:48 +08:00
- ls -lah /www/wwwroot/caddy/html/blog-hexo/
2024-06-04 13:59:56 +08:00
- echo all works done!