allow manual invocations to trigger deploy as well
All checks were successful
ci/woodpecker/push/main Pipeline was successful
All checks were successful
ci/woodpecker/push/main Pipeline was successful
This commit is contained in:
parent
f26eb35b29
commit
d1de0d218c
1 changed files with 6 additions and 6 deletions
|
@ -1,15 +1,15 @@
|
|||
steps:
|
||||
steps:
|
||||
build:
|
||||
image: ruby:latest
|
||||
commands:
|
||||
commands:
|
||||
- cd main && bundle && bundle exec jekyll build
|
||||
deploy:
|
||||
image: debian:latest
|
||||
when:
|
||||
- event: push
|
||||
- event: [push, manual]
|
||||
branch: master
|
||||
commands:
|
||||
- rm -rf /var/www/ellpeck/*
|
||||
- cp -r main/_site/. /var/www/ellpeck
|
||||
commands:
|
||||
- rm -rfv /var/www/ellpeck/*
|
||||
- cp -rv main/_site/. /var/www/ellpeck
|
||||
volumes:
|
||||
- /var/www/ellpeck:/var/www/ellpeck
|
||||
|
|
Loading…
Reference in a new issue