FIX XD
This commit is contained in:
+5
-2
@@ -64,11 +64,14 @@ steps:
|
|||||||
- echo $DRONE_BUILD_CREATED
|
- echo $DRONE_BUILD_CREATED
|
||||||
- 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}"
|
||||||
|
- git clone https://gitea.frontblock.me/fw-docs/${DRONE_REPO_NAME}.git
|
||||||
|
- rm -rf ./${DRONE_REPO_NAME}/*
|
||||||
|
- cp -r ./docs/* ./${DRONE_REPO_NAME}
|
||||||
|
- ls ./${DRONE_REPO_NAME}
|
||||||
- git add -f docs
|
- git add -f docs
|
||||||
- git commit --allow-empty -m "Drone tagged as ${DRONE_TAG}"
|
- git commit --allow-empty -m "Drone tagged as ${DRONE_TAG}"
|
||||||
- git tag "${DRONE_TAG}"
|
- git tag "${DRONE_TAG}"
|
||||||
- git push -f -u https://$GIT_USER:$GIT_PASSWORD@gitea.frontblock.me/fw-docs/${DRONE_REPO_NAME}.git ${DRONE_TAG}
|
- git push -f -u https://$GIT_USER:$GIT_PASSWORD@gitea.frontblock.me/fw-docs/${DRONE_REPO_NAME}.git master ${DRONE_TAG}
|
||||||
- git push -f -u https://$GIT_USER:$GIT_PASSWORD@gitea.frontblock.me/fw-docs/${DRONE_REPO_NAME}.git master
|
|
||||||
environment:
|
environment:
|
||||||
GIT_USER:
|
GIT_USER:
|
||||||
from_secret: git_user
|
from_secret: git_user
|
||||||
|
|||||||
Reference in New Issue
Block a user