mirror of
https://github.com/Ellpeck/TinyLifeWeb.git
synced 2024-11-22 19:28:35 +01:00
15 lines
378 B
YAML
15 lines
378 B
YAML
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
|