TinyLifeWeb/.woodpecker/web.yml

16 lines
378 B
YAML
Raw Normal View History

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