ObsidianJustSharePlease/.woodpecker/server.yml
2023-08-17 12:44:35 +02:00

13 lines
325 B
YAML

when:
path: "server/**"
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