Browse Source

fix

master
Daniel Hübleitner 4 years ago
parent
commit
c4f484c320
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      .drone.yml

+ 2
- 2
.drone.yml View File

54
   - git config --global user.name "${DRONE_COMMIT_AUTHOR}"
54
   - git config --global user.name "${DRONE_COMMIT_AUTHOR}"
55
   - git clone https://gitea.frontblock.me/fw-vendor/${DRONE_REPO_NAME}.git
55
   - git clone https://gitea.frontblock.me/fw-vendor/${DRONE_REPO_NAME}.git
56
   - rm -rf ./${DRONE_REPO_NAME}/docs/*
56
   - rm -rf ./${DRONE_REPO_NAME}/docs/*
57
-  - cp -r ./docs/* ./${DRONE_REPO_NAME}/docs
57
+  - cp -r ./docs ./${DRONE_REPO_NAME}/docs
58
   - ls ./${DRONE_REPO_NAME}
58
   - ls ./${DRONE_REPO_NAME}
59
   - cd ./${DRONE_REPO_NAME}
59
   - cd ./${DRONE_REPO_NAME}
60
-  - git add -A
60
+  - git add -f docs
61
   - git commit --allow-empty -m "drone tagged as version ${DRONE_BUILD_CREATED}"
61
   - git commit --allow-empty -m "drone tagged as version ${DRONE_BUILD_CREATED}"
62
   - git tag ${DRONE_BUILD_CREATED}
62
   - git tag ${DRONE_BUILD_CREATED}
63
   - git status
63
   - git status

Loading…
Cancel
Save