All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
15 lines
No EOL
338 B
YAML
15 lines
No EOL
338 B
YAML
when:
|
|
- branch: main
|
|
event: push
|
|
- event: tag
|
|
|
|
steps:
|
|
- 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 |