Deployment to azure storage.

Pratish's Avatar

Pratish

04 Apr, 2018 11:35 AM

Project builds are kept in a "dist" folder. I am currently zipping all the required build files to a zip.
Now when I deploy to Azure Blob Storage, I want it to be deployed to the path "${container_name}", but instead it is being deployed to "${container_name}/dist".
Why is the folder name being take here. Am i missing something. I just want to deploy the artifacts without the folder it resides on.

This is in my appveyor.yml file.

artifacts:
  - path: app.zip
    name: app

after_build:
  - ps: 7z a app.zip dist\*.yml dist\*.exe dist\*.json

  1. Support Staff 1 Posted by Ilya Finkelshte... on 04 Apr, 2018 05:43 PM

    Ilya Finkelshteyn's Avatar

    Try using absolute path to the archived files, e.g. 7z a app.zip %APPVEYOR_BUILD_FOLDER%\dist\*.yml %APPVEYOR_BUILD_FOLDER%\dist\*.exe %APPVEYOR_BUILD_FOLDER%\dist\*.json

  2. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 02:27 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac