Browse Source

update drone

master
wanggang 1 year ago
parent
commit
51a0065f5b
  1. 7
      .drone.yml

7
.drone.yml

@ -13,8 +13,8 @@ steps:
commands: commands:
- cd ./build - cd ./build
- chmod 755 ./build.sh - chmod 755 ./build.sh
# - ./build.sh - ./build.sh
- mkdir publish # - mkdir publish
- echo "${DRONE_BUILD_NUMBER}-${DRONE_COMMIT_AUTHOR}-${DRONE_REPO_BRANCH}-${DRONE_COMMIT_SHA:0:8}\n">./publish/version.txt - echo "${DRONE_BUILD_NUMBER}-${DRONE_COMMIT_AUTHOR}-${DRONE_REPO_BRANCH}-${DRONE_COMMIT_SHA:0:8}\n">./publish/version.txt
- echo ${DRONE_COMMIT_MESSAGE}>./publish/version.txt - echo ${DRONE_COMMIT_MESSAGE}>./publish/version.txt
- ls publish - ls publish
@ -53,7 +53,8 @@ steps:
port: 16085 port: 16085
username: Administrator username: Administrator
password: Microsoft@2022 password: Microsoft@2022
command_timeout: 10m timeout: 30m
command_timeout: 30m
target: /d/BQ-JS/publish target: /d/BQ-JS/publish
source: build/publish source: build/publish
strip_components: 2 strip_components: 2

Loading…
Cancel
Save