Mise à jour de '.drone.yml'

master
gregandev 2 years ago
parent fbe6a0854b
commit 8ebb5d0571
  1. 16
      .drone.yml

@ -1,5 +1,5 @@
kind: pipeline
name: mkdocs build and deploy
name: hugo
type: docker
platform:
@ -11,18 +11,17 @@ trigger:
- master
steps:
- name: build mkdocs site
- name:
image: titom73/mkdocs
output: ./site
command: ["mkdocs build"]
- name: deploy on server
image: drillster/drone-rsync
settings:
hosts: ["192.168.1.101"]
target: /home/gregan/workspace/mkdocs/doc/site
hosts: ["192.168.1.100"]
target: /var/www/html/mkdocs/doc/site
source: site/*
port:
from_secret: RSYNC_PORT
@ -30,7 +29,7 @@ steps:
from_secret: RSYNC_USER
key:
from_secret: RSYNC_SSH_KEY_STACK
- name: notification
image: appleboy/drone-telegram
settings:
@ -49,4 +48,5 @@ steps:
✅ succeeded for 👷 build {{build.number}}
{{else}}
🛑 failed for 👷 build {{build.number}}
{{/success}}
{{/success}}

Loading…
Cancel
Save