From 562fb280ec0f8c92392312a56c9be0441380e981 Mon Sep 17 00:00:00 2001 From: Struchkov Mark Date: Thu, 23 Feb 2023 21:38:52 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9D=D0=B0=D1=81=D1=82=D1=80=D0=BE=D0=B9?= =?UTF-8?q?=D0=BA=D0=B0=20dev=20=D1=81=D0=B1=D0=BE=D1=80=D0=BA=D0=B8=20?= =?UTF-8?q?=D0=B4=D0=BE=D0=BA=D1=83=D0=BC=D0=B5=D0=BD=D1=82=D0=B0=D1=86?= =?UTF-8?q?=D0=B8=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .drone.yml | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/.drone.yml b/.drone.yml index aaabcb2..267e30c 100644 --- a/.drone.yml +++ b/.drone.yml @@ -114,7 +114,10 @@ clone: steps: - name: clone - image: maven:3.8.5-openjdk-17 + image: git.struchkov.dev/upagge/mkdocs-material-insiders:latest + volumes: + - name: mkdocs_cache + path: ${DRONE_WORKSPACE}/documentation/.cache environment: GIT_SSH: from_secret: GIT_SSH @@ -135,18 +138,17 @@ steps: - git clone ssh://git@git.struchkov.dev/Telegram-Bots/gitlab-notification.git . - git checkout $DRONE_COMMIT - git branch +# - git remote add deploy ssh://git@git.struchkov.dev/Telegram-Bots/gitlab-notification.git +# - cd documentation +# - mike deploy --prefix gitlab-notification --branch docs-deploy --update-aliases develop +# - git checkout docs-deploy +# - git push deploy HEAD:docs-deploy - name: build site image: git.struchkov.dev/upagge/mkdocs-material-insiders:latest - volumes: - - name: mkdocs_cache - path: ${DRONE_WORKSPACE}/documentation/.cache + commands: -# - git remote add deploy ssh://git@git.struchkov.dev/Telegram-Bots/gitlab-notification.git - - cd documentation - - mike deploy --prefix gitlab-notification --branch docs-deploy --update-aliases develop - - git checkout docs-deploy - - git push deploy HEAD:docs-deploy +# image_pull_secrets: - DOCKER_AUTH