-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaws-deploy.sh
More file actions
9 lines (9 loc) · 760 Bytes
/
Copy pathaws-deploy.sh
File metadata and controls
9 lines (9 loc) · 760 Bytes
1
2
3
4
5
6
7
8
9
#! /bin/bash
git pull
npm install
export ACCESS_TOKEN_SECRET=`aws ssm get-parameter --name "/Zenith/config/prod/accessToken" --with-decryption --output text --query Parameter.Value`
export COOKIE_DOMAIN=`aws ssm get-parameter --name "/Zenith/config/prod/cookieDomain" --with-decryption --output text --query Parameter.Value`
export FRONT_END_URL=`aws ssm get-parameter --name "/Zenith/config/prod/frontend" --with-decryption --output text --query Parameter.Value`
export MONGODB_URI=`aws ssm get-parameter --name "/Zenith/config/prod/mondoDB" --with-decryption --output text --query Parameter.Value`
export REFRESH_TOKEN_SECRET=`aws ssm get-parameter --name "/Zenith/config/prod/refreshToken" --with-decryption --output text --query Parameter.Value`
npm start