update ci configuration
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
34db58ad30
commit
da1a660711
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/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
|
||||
|
|
Loading…
Add table
Reference in a new issue