- copy aws credentials to cli
- publish to npm registry
- git pull && yarn (main)
- check version in package.json is the current version
- (prod, no staging)from embedded folder: yarn deploy:prod
- post deploy to npm registry: create a pr back to main to update package.json version and yarn.lock if needed
- sls deploy fails: remove yarn.lock file and yarn again
- otp failure: add always-auth=true for 2FA from npm