|
@@ -65,10 +65,9 @@ steps:
|
65
|
65
|
- git config --global user.email "${DRONE_COMMIT_AUTHOR_EMAIL}"
|
66
|
66
|
- git config --global user.name "${DRONE_COMMIT_AUTHOR}"
|
67
|
67
|
- git add -f docs
|
68
|
|
- - git commit -m "Drone tagged as ${DRONE_TAG}"
|
|
68
|
+ - git commit --allow-empty -m "Drone tagged as ${DRONE_TAG}"
|
69
|
69
|
- git tag "${DRONE_TAG}"
|
70
|
|
- - git push -f https://${GIT_USER}:${GIT_PASSWORD}@gitea.frontblock.me/fw-docs/${DRONE_REPO_NAME}.git master ${DRONE_TAG}
|
71
|
|
-
|
|
70
|
+ - git push -f https://$GIT_USER:$GIT_PASSWORDgitea.frontblock.me/fw-docs/${DRONE_REPO_NAME}.git master ${DRONE_TAG}
|
72
|
71
|
environment:
|
73
|
72
|
GIT_USER:
|
74
|
73
|
from_secret: git_user
|