mirror of
https://github.com/Ellpeck/ObsidianJustSharePlease.git
synced 2024-11-26 20:28:34 +01:00
added server deploy workflow
This commit is contained in:
parent
1e4f7ca12c
commit
f55bb14f55
1 changed files with 13 additions and 0 deletions
13
.woodpecker/server.yml
Normal file
13
.woodpecker/server.yml
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
when:
|
||||||
|
path: "server/public/**"
|
||||||
|
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
|
Loading…
Reference in a new issue