This commit is contained in:
2019-09-22 14:47:22 +02:00
parent 7c66720dbb
commit d1e95f7a5d
+2 -2
View File
@@ -65,10 +65,10 @@ steps:
- 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
- rm -rf ./${DRONE_REPO_NAME}/*
- git rm -rf ./${DRONE_REPO_NAME}/*
- cp -r ./docs/* ./${DRONE_REPO_NAME}
- ls ./${DRONE_REPO_NAME}
- git add ${DRONE_REPO_NAME}
- git add ${DRONE_REPO_NAME}/*
- git commit -m "Drone tagged as ${DRONE_TAG}"
- git tag "${DRONE_TAG}"
- git push https://$GIT_USER:$GIT_PASSWORD@gitea.frontblock.me/fw-docs/${DRONE_REPO_NAME}.git master ${DRONE_TAG}