update ci configuration
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Late Night Defender 2025-02-28 20:36:48 +07:00
parent 34db58ad30
commit da1a660711

View file

@ -1,7 +1,13 @@
when:
- branch: main
event: push
- event: tag
steps:
- name: techtransthai-simple-deploy
image: alpine/git
- name: deploy
image: alpine
commands:
- git -C /mnt/caddy-sites/www.techtransthai.org pull
- rm -rf /mnt/caddy-sites/www.techtransthai.org/*
- cp -r * /mnt/caddy-sites/www.techtransthai.org
volumes:
- /media/core/Data1/Apps/caddy/sites:/mnt/caddy-sites