Web/.woodpecker/main.yml

16 lines
354 B
YAML
Raw Normal View History

steps:
2023-07-02 19:14:01 +02:00
build:
image: ruby:latest
commands:
2023-07-02 19:14:01 +02:00
- cd main && bundle && bundle exec jekyll build
deploy:
image: debian:latest
when:
- event: [push, manual]
2023-07-02 19:14:01 +02:00
branch: master
commands:
- rm -rfv /var/www/ellpeck/*
- cp -rv main/_site/. /var/www/ellpeck
2023-07-02 19:14:01 +02:00
volumes:
- /var/www/ellpeck:/var/www/ellpeck