added woodpecker build
This commit is contained in:
parent
29057b7308
commit
d4d53d5b75
1 changed files with 15 additions and 0 deletions
15
.woodpecker/main.yml
Normal file
15
.woodpecker/main.yml
Normal file
|
@ -0,0 +1,15 @@
|
|||
steps:
|
||||
build:
|
||||
image: ruby:latest
|
||||
commands:
|
||||
- cd main && bundle && bundle exec jekyll build
|
||||
deploy:
|
||||
image: debian:latest
|
||||
when:
|
||||
- event: push
|
||||
branch: master
|
||||
commands:
|
||||
- rm -rf /var/www/ellpeck/*
|
||||
- cp -r main/_site/. /var/www/ellpeck
|
||||
volumes:
|
||||
- /var/www/ellpeck:/var/www/ellpeck
|
Loading…
Reference in a new issue