Compare commits

...

2 Commits

Author SHA1 Message Date
808eed2650 Merge pull request '优化流水线配置文件' (#2) from dev into main
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #2
2025-03-15 03:27:28 +00:00
4147effc20 优化流水线配置文件
Some checks reported errors
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build encountered an error
2025-03-15 11:23:14 +08:00

View File

@ -9,7 +9,16 @@ server:
ssh_key:
from_secret: ssh-key
when:
branch:
- main
event:
- merge_request
steps:
- name: greeting
commands:
- echo hello world
- name: greeting
commands:
- echo "Starting deployment..."
- cd /www/homepage
- git pull origin main
- echo "Deployment completed."