|
|
|
|
52
|
image: node:12
|
52
|
image: node:12
|
53
|
commands:
|
53
|
commands:
|
54
|
- echo ${DRONE_BUILD_CREATED}
|
54
|
- echo ${DRONE_BUILD_CREATED}
|
|
|
55
|
+ - export GIT_SSL_NO_VERIFY=1
|
55
|
- git clone https://gitea.nitowa.xyz/docs/${DRONE_REPO_NAME}.git; cd ${DRONE_REPO_NAME} && rm -rf ./*; cp -r ../docs/* .; cp ../LICENSE.md .
|
56
|
- git clone https://gitea.nitowa.xyz/docs/${DRONE_REPO_NAME}.git; cd ${DRONE_REPO_NAME} && rm -rf ./*; cp -r ../docs/* .; cp ../LICENSE.md .
|
56
|
- sed -i '1,3d; $d' README.md && echo "### Version\n\n${DRONE_TAG}\n" >> ./README.md
|
57
|
- sed -i '1,3d; $d' README.md && echo "### Version\n\n${DRONE_TAG}\n" >> ./README.md
|
57
|
- sed -i -e 1,4d ./globals.md && cat ./globals.md >> ./README.md
|
58
|
- sed -i -e 1,4d ./globals.md && cat ./globals.md >> ./README.md
|