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