ObsidianJustSharePlease/.woodpecker/server.yml

14 lines
325 B
YAML
Raw Normal View History

2023-08-17 12:42:58 +02:00
when:
2023-08-17 12:44:35 +02:00
path: "server/**"
2023-08-17 12:42:58 +02:00
steps:
deploy-server:
image: debian:latest
when:
- event: [push, manual]
branch: main
commands:
- rm -rfv /var/www/jsp/public/*
- cp -rv server/. /var/www/jsp
volumes:
- /var/www/jsp:/var/www/jsp