@architect/deploy is a module that deploys @architect applications to cloud infrastructure.
npm i @architect/deploy
let deploy = require('@architect/deploy')
You need to have the sam
command-line utility available on your $PATH
. Check
out AWS' docs for instructions on how to install this.
Deploys Function code to the staging environment by ommitting CloudFormation
and messing with Lambda infrastructure directly. There's a reason we called
this dirty
. Hey, it works, and it's much faster.
Deploys all infrastructure associated to your @architect app.
Set verbose
to truthy to enable chatty mode. By default will only push to the
staging environment unless production
is truthy.
Pushes static assets from the public/
folder of @architect apps to S3, as
defined by your @architect app's .arc
file. Respects fingerprint
, prune
and ignore
@static
pragma directives (more information available on the
@static
arc guide.
Set verbose
to truthy to enable chatty mode. By default will only push to the
staging environment unless production
is truthy.