clean up old site before new deployment
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Late Night Defender 2025-02-28 13:46:42 +00:00
parent 7cc704e017
commit fe2121904e

View file

@ -4,11 +4,12 @@ when:
- event: tag
steps:
- name: techtransthai-simple-deploy
- name: deploy
image: node
commands:
- npm i
- npm run build
- rm -rf /mnt/caddy-sites/tsib.techtransthai.org/*
- cp -r public/* /mnt/caddy-sites/tsib.techtransthai.org/
volumes:
- /media/core/Data1/Apps/caddy/sites:/mnt/caddy-sites