diff --git a/.woodpecker.yml b/.woodpecker.yml new file mode 100644 index 0000000..9c11f66 --- /dev/null +++ b/.woodpecker.yml @@ -0,0 +1,15 @@ +when: + - branch: main + event: push + - event: tag + +steps: + - name: deploy + image: node + commands: + - npm i + - npm run build + - rm -rf /mnt/caddy-sites/ai-tutor-poc.techtransthai.org/* + - cp -r dist/* /mnt/caddy-sites/ai-tutor-poc.techtransthai.org/ + volumes: + - /media/core/Data1/Apps/caddy/sites:/mnt/caddy-sites \ No newline at end of file