Настройка dev сборки документации
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Struchkov Mark 2023-02-23 21:38:52 +03:00
parent b8814d0683
commit 562fb280ec
Signed by: upagge
GPG Key ID: D3018BE7BA428CA6

View File

@ -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