|
@@ -65,6 +65,7 @@ steps:
|
65
|
65
|
- git config --global user.email "${DRONE_COMMIT_AUTHOR_EMAIL}"
|
66
|
66
|
- git config --global user.name "${DRONE_COMMIT_AUTHOR}"
|
67
|
67
|
- echo "clone ${DRONE_REPO_NAME}"; git clone https://gitea.frontblock.me/fw-docs/${DRONE_REPO_NAME}.git
|
|
68
|
+ - git reset HEAD --hard
|
68
|
69
|
- echo "remove files in ${DRONE_REPO_NAME}"; rm -rf ./${DRONE_REPO_NAME}/*
|
69
|
70
|
- echo "copy docs to ${DRONE_REPO_NAME}"; cp -r ./docs/* ./${DRONE_REPO_NAME}
|
70
|
71
|
- ls ./${DRONE_REPO_NAME}
|