Обновил версию godfather
This commit is contained in:
74
.drone.yml
74
.drone.yml
@@ -97,45 +97,45 @@ steps:
|
|||||||
- gpg --pinentry-mode loopback --passphrase $GPG_PASSPHRASE --import gpg.key
|
- gpg --pinentry-mode loopback --passphrase $GPG_PASSPHRASE --import gpg.key
|
||||||
- mvn --settings maven-settings.xml -U -P ossrh,release-struchkov-nexus clean deploy
|
- mvn --settings maven-settings.xml -U -P ossrh,release-struchkov-nexus clean deploy
|
||||||
|
|
||||||
---
|
#---
|
||||||
kind: pipeline
|
#kind: pipeline
|
||||||
type: docker
|
#type: docker
|
||||||
name: create-docs-site
|
#name: create-docs-site
|
||||||
|
#
|
||||||
trigger:
|
#trigger:
|
||||||
branch:
|
# branch:
|
||||||
- docs
|
# - docs
|
||||||
- master
|
# - master
|
||||||
|
#
|
||||||
steps:
|
#steps:
|
||||||
- name: build site
|
# - name: build site
|
||||||
image: upagge/mkdocs-material
|
# image: upagge/mkdocs-material
|
||||||
environment:
|
# environment:
|
||||||
SSH_DEPLOY_KEY:
|
# SSH_DEPLOY_KEY:
|
||||||
from_secret: SSH_DEPLOY_KEY
|
# from_secret: SSH_DEPLOY_KEY
|
||||||
SSH_DEPLOY_HOST:
|
# SSH_DEPLOY_HOST:
|
||||||
from_secret: SSH_DEPLOY_HOST
|
# from_secret: SSH_DEPLOY_HOST
|
||||||
SSH_DEPLOY_PORT:
|
# SSH_DEPLOY_PORT:
|
||||||
from_secret: SSH_DEPLOY_PORT
|
# from_secret: SSH_DEPLOY_PORT
|
||||||
SSH_DEPLOY_PATH:
|
# SSH_DEPLOY_PATH:
|
||||||
from_secret: SSH_DEPLOY_PATH
|
# from_secret: SSH_DEPLOY_PATH
|
||||||
SSH_DEPLOY_USER:
|
# SSH_DEPLOY_USER:
|
||||||
from_secret: SSH_DEPLOY_USER
|
# from_secret: SSH_DEPLOY_USER
|
||||||
commands:
|
# commands:
|
||||||
- eval $(ssh-agent -s)
|
# - eval $(ssh-agent -s)
|
||||||
- mkdir -p ~/.ssh
|
# - mkdir -p ~/.ssh
|
||||||
- echo "$SSH_DEPLOY_KEY" >> ~/.ssh/id_rsa
|
# - echo "$SSH_DEPLOY_KEY" >> ~/.ssh/id_rsa
|
||||||
- chmod 700 ~/.ssh
|
# - chmod 700 ~/.ssh
|
||||||
- chmod 600 ~/.ssh/id_rsa
|
# - chmod 600 ~/.ssh/id_rsa
|
||||||
- ssh-keyscan -p $SSH_DEPLOY_PORT $SSH_DEPLOY_HOST >> ~/.ssh/known_hosts
|
# - ssh-keyscan -p $SSH_DEPLOY_PORT $SSH_DEPLOY_HOST >> ~/.ssh/known_hosts
|
||||||
- chmod 644 ~/.ssh/known_hosts
|
# - chmod 644 ~/.ssh/known_hosts
|
||||||
- cd documentation
|
# - cd documentation
|
||||||
- mkdocs build
|
# - mkdocs build
|
||||||
- mv site godfather-telegram
|
# - mv site godfather-telegram
|
||||||
- scp -r -P $SSH_DEPLOY_PORT ./godfather-telegram $SSH_DEPLOY_USER@$SSH_DEPLOY_HOST:$SSH_DEPLOY_PATH
|
# - scp -r -P $SSH_DEPLOY_PORT ./godfather-telegram $SSH_DEPLOY_USER@$SSH_DEPLOY_HOST:$SSH_DEPLOY_PATH
|
||||||
|
|
||||||
---
|
---
|
||||||
kind: signature
|
kind: signature
|
||||||
hmac: f572c63a70de0e0b94dda125006e3fc0e2b29ccd318034c7e4193c0c2bee70b2
|
hmac: bdeec02d3273fc1640c972d68cc52bffa2319ea53470d0c273f42125a1dec127
|
||||||
|
|
||||||
...
|
...
|
||||||
|
|||||||
2
pom.xml
2
pom.xml
@@ -37,7 +37,7 @@
|
|||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
||||||
|
|
||||||
<godfather.core.ver>0.0.52-SNAPSHOT</godfather.core.ver>
|
<godfather.core.ver>0.0.52</godfather.core.ver>
|
||||||
|
|
||||||
<!-- https://mvnrepository.com/artifact/org.telegram/telegrambots -->
|
<!-- https://mvnrepository.com/artifact/org.telegram/telegrambots -->
|
||||||
<telegrambots.ver>6.3.0</telegrambots.ver>
|
<telegrambots.ver>6.3.0</telegrambots.ver>
|
||||||
|
|||||||
Reference in New Issue
Block a user