riq0h.jp/.woodpecker/.woodpecker.yml

26 lines
455 B
YAML
Raw Normal View History

2023-08-21 10:07:01 +09:00
clone:
git:
image: woodpeckerci/plugin-git
settings:
recursive: true
steps:
build:
2024-10-22 11:30:10 +09:00
image: floryn90/hugo:latest
2023-08-21 10:07:01 +09:00
commands:
2024-10-22 11:30:10 +09:00
- hugo
2023-08-21 10:07:01 +09:00
deploy:
2023-11-27 20:18:53 +09:00
image: drillster/drone-rsync
2023-11-27 20:16:40 +09:00
secrets: [USER, HOST, SSH, PORT]
2023-08-21 15:21:04 +09:00
settings:
2023-08-21 19:36:41 +09:00
hosts:
2023-08-21 15:50:13 +09:00
from_secret: HOST
2023-08-23 19:53:31 +09:00
user:
from_secret: USER
2023-08-21 15:32:54 +09:00
key:
from_secret: SSH
2023-08-21 19:36:41 +09:00
port:
2023-08-21 15:50:13 +09:00
from_secret: PORT
2023-08-21 19:36:41 +09:00
source: public
target: /var/www/html