diff --git a/.drone.yml b/.drone.yml index 55775c9..5ec95a2 100644 --- a/.drone.yml +++ b/.drone.yml @@ -13,10 +13,7 @@ steps: GITEA_TOKEN: from_secret: gitea-token commands: - - echo $${env:PWD} - - echo $${env:GITEA_USER} - - echo $env:GITEA_USER - - curl --user $${env:GITEA_USER}:$${env:GITEA_TOKEN} --upload-file receiver/Cargo.toml https://itsblue.dev/api/packages/dorian/generic/ok-ready-go/$${env:DRONE_COMMIT_SHA}/Cargo.toml + - "& 'C:\Program Files\Git\mingw64\bin\curl.exe' --user $${env:GITEA_USER}:$${env:GITEA_TOKEN} --upload-file receiver/Cargo.toml https://itsblue.dev/api/packages/dorian/generic/ok-ready-go/$${env:DRONE_COMMIT_SHA}/Cargo.toml" - name: build environment: @@ -34,7 +31,7 @@ steps: GITEA_TOKEN: from_secret: gitea-token commands: - - curl --user $${env:GITEA_USER}:$${env:GITEA_TOKEN} --upload-file receiver/target/x86_64-pc-windows-msvc/release/receiver.exe https://itsblue.dev/api/packages/dorian/generic/ok-ready-go/$${env:DRONE_COMMIT_SHA}/receiver-windows.exe + - "& 'C:\Program Files\Git\mingw64\bin\curl.exe' --user $${env:GITEA_USER}:$${env:GITEA_TOKEN} --upload-file receiver/target/x86_64-pc-windows-msvc/release/receiver.exe https://itsblue.dev/api/packages/dorian/generic/ok-ready-go/$${env:DRONE_COMMIT_SHA}/receiver-windows.exe" trigger: branch: - main \ No newline at end of file