@@ -68,8 +68,8 @@ steps:
- rm -rf ./${DRONE_REPO_NAME}/*
- cp -r ./docs/* ./${DRONE_REPO_NAME}
- ls ./${DRONE_REPO_NAME}
- - git add -f docs
- - git commit --allow-empty -m "Drone tagged as ${DRONE_TAG}"
+ - 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}
environment: