2025-02-28 20:36:48 +07:00
|
|
|
when:
|
|
|
|
- branch: main
|
|
|
|
event: push
|
|
|
|
- event: tag
|
|
|
|
|
2024-10-06 05:28:41 +07:00
|
|
|
steps:
|
2025-02-28 20:36:48 +07:00
|
|
|
- name: deploy
|
|
|
|
image: alpine
|
2024-10-06 05:03:40 +07:00
|
|
|
commands:
|
2025-02-28 20:36:48 +07:00
|
|
|
- rm -rf /mnt/caddy-sites/www.techtransthai.org/*
|
|
|
|
- cp -r * /mnt/caddy-sites/www.techtransthai.org
|
2024-10-06 05:28:41 +07:00
|
|
|
volumes:
|
2024-11-13 06:07:53 +07:00
|
|
|
- /media/core/Data1/Apps/caddy/sites:/mnt/caddy-sites
|