Compare commits
No commits in common. "872c5f4886a6f05a879604711bed64233804ee6b" and "227e38077b1bf50fb80748b6bacc6c958e9deae6" have entirely different histories.
872c5f4886
...
227e38077b
94
.drone.yml
94
.drone.yml
@ -103,54 +103,54 @@ steps:
|
||||
|
||||
image_pull_secrets:
|
||||
- DOCKER_AUTH
|
||||
#---
|
||||
#kind: pipeline
|
||||
#type: docker
|
||||
#name: create-develop-docs-site
|
||||
#
|
||||
#trigger:
|
||||
# branch:
|
||||
# - develop
|
||||
# - docs
|
||||
#
|
||||
#clone:
|
||||
# disable: true
|
||||
#
|
||||
#steps:
|
||||
#
|
||||
# - name: build docs
|
||||
# image: private.docker.struchkov.dev/mkdocs:latest
|
||||
# volumes:
|
||||
# - name: mkdocs_cache
|
||||
# path: ${DRONE_WORKSPACE}/documentation/ru/.cache
|
||||
# environment:
|
||||
# GIT_SSH:
|
||||
# from_secret: GIT_SSH
|
||||
# GIT_SSH_COMMAND: "ssh -i ~/.ssh/id_rsa -p 222"
|
||||
# commands:
|
||||
# - eval $(ssh-agent -s)
|
||||
# - mkdir -p ~/.ssh
|
||||
# - chmod 700 ~/.ssh
|
||||
# - echo "$GIT_SSH" >> ~/.ssh/id_rsa
|
||||
# - chmod 600 ~/.ssh/id_rsa
|
||||
# - ssh-keyscan -p 222 git.struchkov.dev >> ~/.ssh/known_hosts
|
||||
# - chmod 644 ~/.ssh/known_hosts
|
||||
# - git config --global user.name "${DRONE_COMMIT_AUTHOR_NAME}"
|
||||
# - git config --global user.email "${DRONE_COMMIT_AUTHOR_EMAIL}"
|
||||
# - git clone ${DRONE_GIT_SSH_URL} .
|
||||
# - git checkout $DRONE_COMMIT
|
||||
# - cd documentation/spring/ru
|
||||
# - mike deploy --prefix godfather-telegram/spring/ru --branch docs-deploy --push --update-aliases develop
|
||||
#
|
||||
#image_pull_secrets:
|
||||
# - DOCKER_AUTH
|
||||
#
|
||||
#volumes:
|
||||
# - name: mkdocs_cache
|
||||
# host:
|
||||
# path: /drone/volume/mkdocs_cache/godfather_telegram/spring/ru
|
||||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: create-develop-docs-site
|
||||
|
||||
trigger:
|
||||
branch:
|
||||
- develop
|
||||
- docs
|
||||
|
||||
clone:
|
||||
disable: true
|
||||
|
||||
steps:
|
||||
|
||||
- name: build docs
|
||||
image: private.docker.struchkov.dev/mkdocs:latest
|
||||
volumes:
|
||||
- name: mkdocs_cache
|
||||
path: ${DRONE_WORKSPACE}/documentation/ru/.cache
|
||||
environment:
|
||||
GIT_SSH:
|
||||
from_secret: GIT_SSH
|
||||
GIT_SSH_COMMAND: "ssh -i ~/.ssh/id_rsa -p 222"
|
||||
commands:
|
||||
- eval $(ssh-agent -s)
|
||||
- mkdir -p ~/.ssh
|
||||
- chmod 700 ~/.ssh
|
||||
- echo "$GIT_SSH" >> ~/.ssh/id_rsa
|
||||
- chmod 600 ~/.ssh/id_rsa
|
||||
- ssh-keyscan -p 222 git.struchkov.dev >> ~/.ssh/known_hosts
|
||||
- chmod 644 ~/.ssh/known_hosts
|
||||
- git config --global user.name "${DRONE_COMMIT_AUTHOR_NAME}"
|
||||
- git config --global user.email "${DRONE_COMMIT_AUTHOR_EMAIL}"
|
||||
- git clone ${DRONE_GIT_SSH_URL} .
|
||||
- git checkout $DRONE_COMMIT
|
||||
- cd documentation/spring/ru
|
||||
- mike deploy --prefix godfather-telegram/spring/ru --branch docs-deploy --push --update-aliases develop
|
||||
|
||||
image_pull_secrets:
|
||||
- DOCKER_AUTH
|
||||
|
||||
volumes:
|
||||
- name: mkdocs_cache
|
||||
host:
|
||||
path: /drone/volume/mkdocs_cache/godfather_telegram/spring/ru
|
||||
---
|
||||
kind: signature
|
||||
hmac: 34e42dae6623cfc54bc51b79219a79564fcbac0f5e7463d3d9ac485756350b4b
|
||||
hmac: a34ade73094a4c0e8416102e384c4e36b5612f81331447d69589f632a3e1cde4
|
||||
|
||||
...
|
||||
|
Loading…
Reference in New Issue
Block a user