9 lines
359 B
Bash
9 lines
359 B
Bash
#!/bin/sh
|
|
set -ex
|
|
|
|
eval "$(aws ssm get-parameters-by-path --region $REGION --path "/$SERVICE_NAME/$ENV/" --query 'Parameters[*].{Name:Name,Value:Value}' --output text | sed 's/\/'"$SERVICE_NAME"'\/'"$ENV"'\///g' | awk -F '\t' '{ print "export " $1 "=" "\""$2"\";" }')"
|
|
|
|
npm show puppeteer version
|
|
|
|
pm2-runtime start ecosystem.config.js --raw --env production
|