Browse Source

fix: update deployment script to change directory to /root before reloading Caddy

main
npmrun 3 days ago
parent
commit
2446f795f8
  1. 2
      .drone.yml

2
.drone.yml

@ -29,7 +29,7 @@ steps:
- pkill -f short-link-server || true
# nohup 启动,日志输出到 nohup.out
- nohup ./short-link-server > nohup.out 2>&1 &
- cd ~
- cd /root
- caddy reload
depends_on:
- build-backend

Loading…
Cancel
Save