From cdcceb1a7bbd7a6e8a08364a0a4e74f1cba1c77d Mon Sep 17 00:00:00 2001 From: sthope Date: Sun, 5 May 2024 22:17:21 +0200 Subject: [PATCH] Initial commit --- .drone.yml | 37 +++++++++++++++++++++++-------------- 1 file changed, 23 insertions(+), 14 deletions(-) diff --git a/.drone.yml b/.drone.yml index a3d69cc..d127a77 100644 --- a/.drone.yml +++ b/.drone.yml @@ -4,18 +4,27 @@ type: docker name: build steps: -- name: build - image: squidfunk/mkdocs-material:7.1.9 - volumes: - - name: site - path: /site - commands: - - /usr/local/bin/python -m pip install --upgrade pip - - mkdocs build - - cp -r site/ /site - - chmod -R 777 /site +# - name: build +# image: squidfunk/mkdocs-material:7.1.9 +# volumes: +# - name: site +# path: /site +# commands: +# - /usr/local/bin/python -m pip install --upgrade pip +# - mkdocs build +# - cp -r site/ /site +# - chmod -R 777 /site -volumes: -- name: site - host: - path: /mnt/user/Docker/wiki_backup \ No newline at end of file +- name: ssh + image: appleboy/drone-ssh + settings: + host: + from_secret: ssh_server + username: + from_secret: ssh_username + password: + from_secret: ssh_password + port: 22 + command_timeout: 2m + script: + - bash /mnt/user/Backups/wiki/git_pull.sh