|
@@ -61,10 +61,11 @@ steps:
|
61
|
61
|
- name: deploy documentation
|
62
|
62
|
image: node:12
|
63
|
63
|
commands:
|
64
|
|
- - echo $DRONE_BUILD_CREATED
|
|
64
|
+ - echo ${DRONE_BUILD_CREATED}
|
65
|
65
|
- git config --global user.email "${DRONE_COMMIT_AUTHOR_EMAIL}"
|
66
|
66
|
- git config --global user.name "${DRONE_COMMIT_AUTHOR}"
|
67
|
67
|
- git clone https://gitea.frontblock.me/fw-docs/${DRONE_REPO_NAME}.git
|
|
68
|
+ - git checkout master
|
68
|
69
|
- git rm -rf ./${DRONE_REPO_NAME}/*
|
69
|
70
|
- cp -r ./docs/* ./${DRONE_REPO_NAME}
|
70
|
71
|
- ls ./${DRONE_REPO_NAME}
|