update ci configuration
This commit is contained in:
parent
babf741a06
commit
62db9b433c
1 changed files with 9 additions and 3 deletions
|
@ -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/blachp.techtransthai.org pull
|
||||
- rm -rf /mnt/caddy-sites/blachp.techtransthai.org/*
|
||||
- cp -r * /mnt/caddy-sites/blachp.techtransthai.org
|
||||
volumes:
|
||||
- /media/core/Data1/Apps/caddy/sites:/mnt/caddy-sites
|
Loading…
Add table
Reference in a new issue