|
@@ -1,4 +1,6 @@
|
|
1
|
+---
|
1
|
2
|
kind: pipeline
|
|
3
|
+type: docker
|
2
|
4
|
name: default
|
3
|
5
|
|
4
|
6
|
steps:
|
|
@@ -64,7 +66,7 @@ steps:
|
64
|
66
|
- echo ${DRONE_BUILD_CREATED}
|
65
|
67
|
- git config --global user.email "${DRONE_COMMIT_AUTHOR_EMAIL}"
|
66
|
68
|
- git config --global user.name "${DRONE_COMMIT_AUTHOR}"
|
67
|
|
- - echo "clone ${DRONE_REPO_NAME}"; git clone https://gitea.frontblock.me/fw-docs/${DRONE_REPO_NAME}.git
|
|
69
|
+ - echo "clone ${DRONE_REPO_NAME}"; git clone https://www.versioncontrol.me/frontwork-documentation/${DRONE_REPO_NAME}.git
|
68
|
70
|
- cd ${DRONE_REPO_NAME}
|
69
|
71
|
- git reset HEAD --hard
|
70
|
72
|
- echo "remove files in ${DRONE_REPO_NAME}"; rm -rf ./*
|