Browse Source

drone

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

+ 2
- 1
.drone.yml View File

9
   - echo $DRONE_BUILD_CREATED
9
   - echo $DRONE_BUILD_CREATED
10
   - git config --global user.email "${DRONE_COMMIT_AUTHOR_EMAIL}"
10
   - git config --global user.email "${DRONE_COMMIT_AUTHOR_EMAIL}"
11
   - git config --global user.name "${DRONE_COMMIT_AUTHOR}"
11
   - git config --global user.name "${DRONE_COMMIT_AUTHOR}"
12
-  - git commit -A -m "Drone tagged as ${DRONE_TAG}"
12
+  - git add -f docs
13
+  - git commit -m "Drone tagged as ${DRONE_TAG}"
13
   - git tag "${DRONE_TAG}"
14
   - git tag "${DRONE_TAG}"
14
   - git push https://$GIT_USER:$GIT_PASSWORD@gitea.frontblock.me/fw-docs/${DRONE_REPO_NAME}.git master ${DRONE_TAG}
15
   - git push https://$GIT_USER:$GIT_PASSWORD@gitea.frontblock.me/fw-docs/${DRONE_REPO_NAME}.git master ${DRONE_TAG}
15
 
16
 

Loading…
Cancel
Save