peter vor 5 Jahren
Ursprung
Commit
4b6ae84e88
1 geänderte Dateien mit 4 neuen und 5 gelöschten Zeilen
  1. 4
    5
      .drone.yml

+ 4
- 5
.drone.yml Datei anzeigen

@@ -64,12 +64,11 @@ steps:
64 64
   - echo ${DRONE_BUILD_CREATED}
65 65
   - git config --global user.email "${DRONE_COMMIT_AUTHOR_EMAIL}"
66 66
   - git config --global user.name "${DRONE_COMMIT_AUTHOR}"
67
-  - git clone https://gitea.frontblock.me/fw-docs/${DRONE_REPO_NAME}.git
68
-  - git checkout master
69
-  - git rm -rf ./${DRONE_REPO_NAME}/*
70
-  - cp -r ./docs/* ./${DRONE_REPO_NAME}
67
+  - echo "clone ${DRONE_REPO_NAME}"; git clone https://gitea.frontblock.me/fw-docs/${DRONE_REPO_NAME}.git
68
+  - echo "remove files in ${DRONE_REPO_NAME}"; rm -rf ./${DRONE_REPO_NAME}/*
69
+  - echo "copy docs to ${DRONE_REPO_NAME}"; cp -r ./docs/* ./${DRONE_REPO_NAME}
71 70
   - ls ./${DRONE_REPO_NAME}
72
-  - git add ${DRONE_REPO_NAME}/*
71
+  - echo "add files in ${DRONE_REPO_NAME}"; git add ${DRONE_REPO_NAME}/*
73 72
   - git commit -m "Drone tagged as ${DRONE_TAG}"
74 73
   - git tag "${DRONE_TAG}"
75 74
   - git push https://$GIT_USER:$GIT_PASSWORD@gitea.frontblock.me/fw-docs/${DRONE_REPO_NAME}.git master ${DRONE_TAG}

Laden…
Abbrechen
Speichern