clean up old site before new deployment
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
7cc704e017
commit
fe2121904e
1 changed files with 2 additions and 1 deletions
|
@ -4,11 +4,12 @@ when:
|
|||
- event: tag
|
||||
|
||||
steps:
|
||||
- name: techtransthai-simple-deploy
|
||||
- name: deploy
|
||||
image: node
|
||||
commands:
|
||||
- npm i
|
||||
- npm run build
|
||||
- rm -rf /mnt/caddy-sites/tsib.techtransthai.org/*
|
||||
- cp -r public/* /mnt/caddy-sites/tsib.techtransthai.org/
|
||||
volumes:
|
||||
- /media/core/Data1/Apps/caddy/sites:/mnt/caddy-sites
|
Loading…
Add table
Reference in a new issue