From 259ce2103f045a01ccd5a990b351e941ea470766 Mon Sep 17 00:00:00 2001 From: thest1tch Date: Sun, 4 Jun 2023 11:32:20 +0500 Subject: [PATCH] 1 --- .drone.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.drone.yml b/.drone.yml index afa9851..d45e50a 100755 --- a/.drone.yml +++ b/.drone.yml @@ -4,16 +4,20 @@ type: docker name: build steps: - name: build - image: squidfunk/mkdocs-material:7.1.9 + image: squidfunk/mkdocs-material:9.1.15 + pull: if-not-exists volumes: - name: site path: /site commands: - pip install -U -r ./requirements.txt - mkdocs build - - cp -r site/ /site - - chmod -R 777 /site + when: + event: push + branch: master + #- cp -r site/ /site + #- chmod -R 777 /site volumes: - name: site host: - path: /opt/appdata/mkdocswiki \ No newline at end of file + path: /opt/appdata/mkdocswiki/docs \ No newline at end of file