diff --git a/.drone.yml b/.drone.yml index 3174072..77cacac 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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}