瀏覽代碼

push

master
peter 5 年之前
父節點
當前提交
b8f172696e
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      .drone.yml

+ 1
- 1
.drone.yml 查看文件

@@ -65,12 +65,12 @@ steps:
65 65
   - git config --global user.email "${DRONE_COMMIT_AUTHOR_EMAIL}"
66 66
   - git config --global user.name "${DRONE_COMMIT_AUTHOR}"
67 67
   - echo "clone ${DRONE_REPO_NAME}"; git clone https://gitea.frontblock.me/fw-docs/${DRONE_REPO_NAME}.git
68
+  - head -n -2 ./README.md > ./${DRONE_REPO_NAME}/README.md  
68 69
   - cd ${DRONE_REPO_NAME}
69 70
   - git reset HEAD --hard
70 71
   - echo "remove files in ${DRONE_REPO_NAME}"; rm -rf ./*
71 72
   - echo "copy docs to ${DRONE_REPO_NAME}"; cp -r ../docs/* .
72 73
   - ls
73
-  - head -n -2 ./README.md > README.md
74 74
   - echo "## Version" >> ./README.md
75 75
   - echo "${DRONE_TAG}" >> ./README.md
76 76
   - echo "" >> ./README.md

Loading…
取消
儲存