mirror of
https://github.com/Ellpeck/ObsidianJustSharePlease.git
synced 2024-11-26 20:28:34 +01:00
13 lines
325 B
YAML
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
|