This commit is contained in:
2019-09-22 14:49:35 +02:00
parent d1e95f7a5d
commit 5bfbc43205
+2 -1
View File
@@ -61,10 +61,11 @@ steps:
- name: deploy documentation
image: node:12
commands:
- echo $DRONE_BUILD_CREATED
- echo ${DRONE_BUILD_CREATED}
- git config --global user.email "${DRONE_COMMIT_AUTHOR_EMAIL}"
- git config --global user.name "${DRONE_COMMIT_AUTHOR}"
- git clone https://gitea.frontblock.me/fw-docs/${DRONE_REPO_NAME}.git
- git checkout master
- git rm -rf ./${DRONE_REPO_NAME}/*
- cp -r ./docs/* ./${DRONE_REPO_NAME}
- ls ./${DRONE_REPO_NAME}