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. Support Staff 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.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

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

Recent Discussions

20 Jun, 2018 04:30 PM
20 Jun, 2018 03:16 PM
20 Jun, 2018 11:06 AM
20 Jun, 2018 08:59 AM
19 Jun, 2018 08:10 PM

 

19 Jun, 2018 07:29 PM
19 Jun, 2018 04:07 PM
19 Jun, 2018 12:36 AM
19 Jun, 2018 12:04 AM
18 Jun, 2018 10:24 PM
18 Jun, 2018 08:49 PM