From 383a5df87d7504d01f9f7f7aa0a670d57a9d8c88 Mon Sep 17 00:00:00 2001 From: peter Date: Sun, 22 Sep 2019 14:57:41 +0200 Subject: [PATCH] FIX XD --- .drone.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.drone.yml b/.drone.yml index 0b608c2..ee4b0a7 100644 --- a/.drone.yml +++ b/.drone.yml @@ -65,6 +65,7 @@ steps: - git config --global user.email "${DRONE_COMMIT_AUTHOR_EMAIL}" - git config --global user.name "${DRONE_COMMIT_AUTHOR}" - echo "clone ${DRONE_REPO_NAME}"; git clone https://gitea.frontblock.me/fw-docs/${DRONE_REPO_NAME}.git + - git reset HEAD --hard - echo "remove files in ${DRONE_REPO_NAME}"; rm -rf ./${DRONE_REPO_NAME}/* - echo "copy docs to ${DRONE_REPO_NAME}"; cp -r ./docs/* ./${DRONE_REPO_NAME} - ls ./${DRONE_REPO_NAME}