FIX XD
This commit is contained in:
@@ -65,6 +65,7 @@ steps:
|
|||||||
- git config --global user.email "${DRONE_COMMIT_AUTHOR_EMAIL}"
|
- git config --global user.email "${DRONE_COMMIT_AUTHOR_EMAIL}"
|
||||||
- git config --global user.name "${DRONE_COMMIT_AUTHOR}"
|
- 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
|
- 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 "remove files in ${DRONE_REPO_NAME}"; rm -rf ./${DRONE_REPO_NAME}/*
|
||||||
- echo "copy docs to ${DRONE_REPO_NAME}"; cp -r ./docs/* ./${DRONE_REPO_NAME}
|
- echo "copy docs to ${DRONE_REPO_NAME}"; cp -r ./docs/* ./${DRONE_REPO_NAME}
|
||||||
- ls ./${DRONE_REPO_NAME}
|
- ls ./${DRONE_REPO_NAME}
|
||||||
|
|||||||
Reference in New Issue
Block a user