0

嘗試部署文物,出現以下錯誤結束:部署天青Blob存儲結束了與錯誤

The input is not a valid Base-64 string as it contains a non-base 64 character, more than two padding characters, or an illegal character among the padding characters.

之前和之後我跑兩個腳本我構建應用程序在AppVeyor:

cd $env:APPVEYOR_BUILD_FOLDER\patch; 
npm install; 
node patch-project-json.js $env:APPVEYOR_BUILD_FOLDER\src\Project1\project.json $env:APPVEYOR_BUILD_VERSION; 
node patch-project-json.js $env:APPVEYOR_BUILD_FOLDER\src\Project2\project.json $env:APPVEYOR_BUILD_VERSION; 
node patch-project-json.js $env:APPVEYOR_BUILD_FOLDER\src\Project3\project.json $env:APPVEYOR_BUILD_VERSION; 


cd $env:APPVEYOR_BUILD_FOLDER 
dotnet restore 

dotnet publish .\src\Project1 --output $env:APPVEYOR_BUILD_FOLDER\deploy\Project1 --configuration Release --no-build; 
dotnet publish .\src\Project2 --output $env:APPVEYOR_BUILD_FOLDER\deploy\Project2 --configuration Release --no-build; 
dotnet publish .\src\Project3 --output $env:APPVEYOR_BUILD_FOLDER\deploy\Project3 --configuration Release --no-build 

正如你所看到的,我使用this設置在版本文件基於$env:APPVEYOR_BUILD_VERSION。我不知道這是否是相關信息。所以在成功構建和發佈之後,我想將一個工件上傳到blob存儲。

回答

0

原來我在Storage access key條目的部署設置中有錯別字;)