Web/.woodpecker/main.yml
Ell d1de0d218c
All checks were successful
ci/woodpecker/push/main Pipeline was successful
allow manual invocations to trigger deploy as well
2023-07-02 19:20:53 +02:00

15 lines
354 B
YAML

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