peter 4 lat temu
rodzic
commit
d1e95f7a5d
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2
    2
      .drone.yml

+ 2
- 2
.drone.yml Wyświetl plik

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

Ładowanie…
Anuluj
Zapisz