@glicogh/healthcare-cdk 0.1.93 → 0.1.95

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6,7 +6,7 @@ github_api_key=$(aws ssm get-parameter --name ${ssm_global_parameter_path}GITHUB
6
6
 
7
7
  # clone project from github into service directory
8
8
  sudo rm -rf $service_dir
9
- sudo git clone https://$github_api_key@github.com/{{githubRepoPath}} $service_dir
9
+ sudo git clone https://$github_api_key:@github.com/{{githubRepoPath}} $service_dir
10
10
  cd $service_dir
11
11
  git checkout $deployment_git_branch
12
12
  git pull origin $deployment_git_branch
@@ -26,7 +26,7 @@ sudo ln -sf $service_dir/.env $service_dir/src/api/.env
26
26
  sudo ln -sf $service_dir/.env $service_dir/dist/api/.env
27
27
 
28
28
  # configure supervisor
29
- sudo sed -i "s|files = .*|files = /etc/supervisor/conf.d/*.conf ${service_dir}/supervisor/conf.d/*.conf|" /etc/supervisor/supervisord.conf
29
+ sudo sed -i "s|files = .*|files = /etc/supervisor/conf.d/*.conf ${service_dir}/.infra/supervisor/conf.d/*.conf|" /etc/supervisor/supervisord.conf
30
30
 
31
31
  # start supervisor
32
32
  sudo systemctl restart supervisor
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@glicogh/healthcare-cdk",
3
- "version": "0.1.93",
3
+ "version": "0.1.95",
4
4
  "description": "CDK automations",
5
5
  "bin": {
6
6
  "cdk": "bin/cdk.js"
@@ -6,7 +6,7 @@ github_api_key=$(aws ssm get-parameter --name ${ssm_global_parameter_path}GITHUB
6
6
 
7
7
  # clone project from github into service directory
8
8
  sudo rm -rf $service_dir
9
- sudo git clone https://$github_api_key@github.com/{{githubRepoPath}} $service_dir
9
+ sudo git clone https://$github_api_key:@github.com/{{githubRepoPath}} $service_dir
10
10
  cd $service_dir
11
11
  git checkout $deployment_git_branch
12
12
  git pull origin $deployment_git_branch
@@ -26,7 +26,7 @@ sudo ln -sf $service_dir/.env $service_dir/src/api/.env
26
26
  sudo ln -sf $service_dir/.env $service_dir/dist/api/.env
27
27
 
28
28
  # configure supervisor
29
- sudo sed -i "s|files = .*|files = /etc/supervisor/conf.d/*.conf ${service_dir}/supervisor/conf.d/*.conf|" /etc/supervisor/supervisord.conf
29
+ sudo sed -i "s|files = .*|files = /etc/supervisor/conf.d/*.conf ${service_dir}/.infra/supervisor/conf.d/*.conf|" /etc/supervisor/supervisord.conf
30
30
 
31
31
  # start supervisor
32
32
  sudo systemctl restart supervisor