diff --git a/.woodpecker.yml b/.woodpecker.yml index a05113b..cd09c53 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -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 \ No newline at end of file