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

 

18 Aug, 2018 11:54 AM
18 Aug, 2018 12:13 AM
17 Aug, 2018 06:02 PM
17 Aug, 2018 04:26 PM
17 Aug, 2018 04:04 PM
17 Aug, 2018 06:31 AM