Browse Source

FIX XD

master
peter 5 years ago
parent
commit
7c66720dbb
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      .drone.yml

+ 2
- 2
.drone.yml View File

68
   - rm -rf ./${DRONE_REPO_NAME}/*
68
   - rm -rf ./${DRONE_REPO_NAME}/*
69
   - cp -r ./docs/* ./${DRONE_REPO_NAME}
69
   - cp -r ./docs/* ./${DRONE_REPO_NAME}
70
   - ls ./${DRONE_REPO_NAME}
70
   - ls ./${DRONE_REPO_NAME}
71
-  - git add -f docs
72
-  - git commit --allow-empty -m "Drone tagged as ${DRONE_TAG}"
71
+  - git add ${DRONE_REPO_NAME}
72
+  - git commit -m "Drone tagged as ${DRONE_TAG}"
73
   - git tag "${DRONE_TAG}"
73
   - git tag "${DRONE_TAG}"
74
   - git push https://$GIT_USER:$GIT_PASSWORD@gitea.frontblock.me/fw-docs/${DRONE_REPO_NAME}.git master ${DRONE_TAG}
74
   - git push https://$GIT_USER:$GIT_PASSWORD@gitea.frontblock.me/fw-docs/${DRONE_REPO_NAME}.git master ${DRONE_TAG}
75
   environment:
75
   environment:

Loading…
Cancel
Save