Github action for storing files in ssm
Required The path to the file
Required Encode the file in base64? Default False
Required SSM path to store the file content
uses: bisnow/github-actions-store-sqs-config-ssm@v1.1
with:
file-path: ./deploy/${{ env.ENVIRONMENT }}/etc/sqs-worker.conf
base64: 'true'
ssm-path: '/${{ env.ECS_SERVICE }}/${{ env.ENVIRONMENT }}/sqs_config'
edit index.js
Install ncc if you don't have it
npm i -g @vercel/ncc
Compile JS
ncc build index.js --license LICENSE