|
@@ -54,10 +54,10 @@ steps:
|
54
|
54
|
- git config --global user.name "${DRONE_COMMIT_AUTHOR}"
|
55
|
55
|
- git clone https://gitea.frontblock.me/fw-vendor/${DRONE_REPO_NAME}.git
|
56
|
56
|
- rm -rf ./${DRONE_REPO_NAME}/docs/*
|
57
|
|
- - cp -r ./docs/* ./${DRONE_REPO_NAME}/docs
|
|
57
|
+ - cp -r ./docs ./${DRONE_REPO_NAME}/docs
|
58
|
58
|
- ls ./${DRONE_REPO_NAME}
|
59
|
59
|
- cd ./${DRONE_REPO_NAME}
|
60
|
|
- - git add -A
|
|
60
|
+ - git add -f docs
|
61
|
61
|
- git commit --allow-empty -m "drone tagged as version ${DRONE_BUILD_CREATED}"
|
62
|
62
|
- git tag ${DRONE_BUILD_CREATED}
|
63
|
63
|
- git status
|