allow manual invocations to trigger deploy as well
All checks were successful
ci/woodpecker/push/main Pipeline was successful

This commit is contained in:
Ell 2023-07-02 19:20:53 +02:00
parent f26eb35b29
commit d1de0d218c

View file

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