How to just zip entire project into an artifact?

pdoyle's Avatar


14 May, 2021 03:08 PM

I have a repo that doesn't require any build steps and we just need the entire project to be zipped, maintaining the original folder structure, for use with a webhook deploy. What is the easiest way to accomplish this? Do I need to do a zip command with a shell build script or is there another way?


  1. Support Staff 1 Posted by Feodor Fitsner on 14 May, 2021 03:13 PM

    Feodor Fitsner's Avatar

    It's just:

    - path: <Relative-path-to-directory>

    For example, if there is a Site folder in the root of my repo it is:

    - path: Site
  2. 2 Posted by pdoyle on 14 May, 2021 03:20 PM

    pdoyle's Avatar

    Thanks for the quick response. That works for the subfolders but what if I want to zip the entire build folder? I tried ../myproject as the artifact path but that gave me an error "Only child items to the build folder /home/appveyor/projects/myproject are supported now"

  3. Support Staff 3 Posted by Feodor Fitsner on 14 May, 2021 05:15 PM

    Feodor Fitsner's Avatar
  4. Feodor Fitsner closed this discussion on 14 Jul, 2021 09:03 PM.

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

Keyboard shortcuts


? 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