How to just zip entire project into an artifact?
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?
Thanks!
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
Support Staff 1 Posted by Feodor Fitsner on 14 May, 2021 03:13 PM
It's just:
For example, if there is a
Site
folder in the root of my repo it is:2 Posted by pdoyle on 14 May, 2021 03:20 PM
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"
Support Staff 3 Posted by Feodor Fitsner on 14 May, 2021 05:15 PM
Then use
7z
: https://www.appveyor.com/docs/packaging-artifacts/#packaging-multip...Feodor Fitsner closed this discussion on 14 Jul, 2021 09:03 PM.