How to zip node.js files

Aidan's Avatar

Aidan

12 Jun, 2018 08:54 PM

Hi,

I want my CI to zip some node.js files (without building) and then push them to S3 (I'm trying to deploy a node.js Lambda function). I am trying to zip my files and pushing them as an artifact. The build succeeds, but I can't see anything in S3:

Collecting artifacts...
No artifacts found matching 'flattener.zip' path
Deploying using S3 provider
Build success

My yml is here:
https://github.com/AidanTwomey/AlbumStore/blob/master/appveyor.yml

Thanks

  1. 1 Posted by Ilya Finkelshte... on 13 Jun, 2018 01:40 AM

    Ilya Finkelshteyn's Avatar

    Please check PR. More info. Also if build:off, after_build does not run.

  2. 2 Posted by Aidan on 13 Jun, 2018 05:10 AM

    Aidan's Avatar

    That's brilliant, thank you so much! Makes perfect sense.

  3. Owen McDonnell closed this discussion on 27 Aug, 2018 06:33 PM.

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