|
|
|
@ -8,15 +8,15 @@ trigger: |
|
|
|
|
branch: |
|
|
|
|
- master |
|
|
|
|
|
|
|
|
|
steps: |
|
|
|
|
steps: |
|
|
|
|
|
|
|
|
|
- name: build mkdocs site |
|
|
|
|
- name: build mkdocs site |
|
|
|
|
image: plugins/docker |
|
|
|
|
output: ./site |
|
|
|
|
command: ["mkdocs build"] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- name: deploy on server |
|
|
|
|
- name: deploy on server |
|
|
|
|
image: drillster/drone-rsync |
|
|
|
|
settings: |
|
|
|
|
hosts: ["192.168.1.101"] |
|
|
|
@ -29,7 +29,7 @@ trigger: |
|
|
|
|
key: |
|
|
|
|
from_secret: RSYNC_SSH_KEY_STACK |
|
|
|
|
|
|
|
|
|
- name: notification |
|
|
|
|
- name: notification |
|
|
|
|
image: appleboy/drone-telegram |
|
|
|
|
settings: |
|
|
|
|
token: |
|
|
|
|