Added Woodpecker CI config
This commit is contained in:
parent
8d0c1c6633
commit
b09ab1634c
25
.woodpecker.yml
Normal file
25
.woodpecker.yml
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
pipeline:
|
||||||
|
build:
|
||||||
|
image: jekyll/jekyll:4
|
||||||
|
environment:
|
||||||
|
- JEKYLL_ROOTLESS=1
|
||||||
|
commands:
|
||||||
|
- mkdir _site
|
||||||
|
- jekyll build -s src/ --disable-disk-cache
|
||||||
|
|
||||||
|
deploy:
|
||||||
|
image: appleboy/drone-scp
|
||||||
|
settings:
|
||||||
|
host:
|
||||||
|
- www3.int.metaunix.net
|
||||||
|
user: xadmin
|
||||||
|
port: 22
|
||||||
|
password:
|
||||||
|
from_secret: ssh_password
|
||||||
|
command_timeout: 2m
|
||||||
|
target: /var/www/bitgoblin.tech
|
||||||
|
source: ./_site/*
|
||||||
|
rm: True
|
||||||
|
strip_components: 1
|
||||||
|
when:
|
||||||
|
event: tag
|
Loading…
Reference in New Issue
Block a user