diff --git a/.drone.yml b/.drone.yml index ff997ee..0624551 100644 --- a/.drone.yml +++ b/.drone.yml @@ -15,7 +15,7 @@ steps: # prepare deployment - mkdir deploy - cp .pio/build/lolin_d32_pro/firmware.bin deploy/${DRONE_REPO_NAME}.bin - - cp version.txt deploy/${DRONE_REPO_NAME}.version + - cp version.txt deploy/${DRONE_REPO_NAME}.bin.version - name: gitea_release image: plugins/gitea-release @@ -32,7 +32,7 @@ steps: image: appleboy/drone-scp settings: host: 172.16.85.15 - target: /var/www/fwupdate/fota/${DRONE_REPO_NAME} + target: /var/www/fwupdate/fota source: - deploy/${DRONE_REPO_NAME}.bin - deploy/${DRONE_REPO_NAME}.version