FIX XD
This commit is contained in:
+2
-1
@@ -61,10 +61,11 @@ steps:
|
|||||||
- name: deploy documentation
|
- name: deploy documentation
|
||||||
image: node:12
|
image: node:12
|
||||||
commands:
|
commands:
|
||||||
- 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
|
- git clone https://gitea.frontblock.me/fw-docs/${DRONE_REPO_NAME}.git
|
||||||
|
- git checkout master
|
||||||
- git rm -rf ./${DRONE_REPO_NAME}/*
|
- git rm -rf ./${DRONE_REPO_NAME}/*
|
||||||
- cp -r ./docs/* ./${DRONE_REPO_NAME}
|
- cp -r ./docs/* ./${DRONE_REPO_NAME}
|
||||||
- ls ./${DRONE_REPO_NAME}
|
- ls ./${DRONE_REPO_NAME}
|
||||||
|
|||||||
Reference in New Issue
Block a user