hugohm/.drone.yml

39 lines
571 B
YAML
Raw Normal View History

---
kind: pipeline
name: default
platform:
os: linux
arch: amd64
steps:
- name: build
image: plugins/hugo
settings:
hugo_version: 0.88.1
url: https://negromate.rocks/hmdemo/
validate: true
when:
branch:
- master
- name: deploy
image: drillster/drone-rsync
settings:
hosts:
- 192.168.20.2
key:
from_secret: rsync_ssh_key
source: public/
target: /var/www/html/hmdemo
user: hm
when:
branch:
- master
---
kind: signature
hmac: eedaf25fc6dd13b10beb6533dd58eda860b7b8b6a5af7df2169bcc4e9c711c5e
...