update ci configuration
This commit is contained in:
parent
b58a2bc845
commit
e0ed411029
1 changed files with 9 additions and 5 deletions
|
@ -1,9 +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/latenightdef.techtransthai.org pull
|
||||
- rm -rf /mnt/caddy-sites/latenightdef.techtransthai.org/*
|
||||
- cp -r * /mnt/caddy-sites/latenightdef.techtransthai.org
|
||||
volumes:
|
||||
- /media/core/Data1/Apps/caddy/sites:/mnt/caddy-sites
|
||||
when:
|
||||
- branch: main
|
Loading…
Add table
Reference in a new issue