traveling-salesman-bangkok/.woodpecker.yml
latenightdef fe2121904e
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
clean up old site before new deployment
2025-02-28 13:46:42 +00:00

15 lines
No EOL
338 B
YAML

when:
- branch: main
event: push
- event: tag
steps:
- 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