|
@@ -70,9 +70,11 @@ steps:
|
70
|
70
|
- echo "remove files in ${DRONE_REPO_NAME}"; rm -rf ./*
|
71
|
71
|
- echo "copy docs to ${DRONE_REPO_NAME}"; cp -r ../docs/* .
|
72
|
72
|
- ls
|
73
|
|
- - cat globals.md >> ./README.md
|
74
|
|
- - echo "# Version" >> ./README.md
|
|
73
|
+ - echo "# Documentation" >> ./README.md
|
|
74
|
+ - echo "https://gitea.frontblock.me/fw-docs/${DRONE_REPO_NAME}" >> ./README.md
|
|
75
|
+ - echo "### Version" >> ./README.md
|
75
|
76
|
- echo "${DRONE_TAG}" >> ./README.md
|
|
77
|
+ - cat globals.md >> ./README.md
|
76
|
78
|
- echo "add files in ${DRONE_REPO_NAME}"; git add -A
|
77
|
79
|
- git commit --allow-empty -m "Drone tagged as ${DRONE_TAG}"
|
78
|
80
|
- git push --force origin master
|