diff --git a/.github/workflows/github-actions.yml b/.github/workflows/github-actions.yml index 20b0d6a..58cd87f 100644 --- a/.github/workflows/github-actions.yml +++ b/.github/workflows/github-actions.yml @@ -52,7 +52,7 @@ jobs: id: getParameters run: | # Replace '--path' with your specific path from Parameter Store - parameters=$(aws ssm get-parameters-by-path --path "/core/es_indexer/dev_ecr_ecs_config/" --recursive --query 'Parameters[*].[Name,Value]' --output json) + parameters=$(aws ssm get-parameters-by-path --path "/core/geonetwork4/dev_ecr_ecs_config/" --recursive --query 'Parameters[*].[Name,Value]' --output json) echo "$parameters" > parameters.json echo "::set-output name=parameters_json::$parameters" @@ -71,16 +71,16 @@ jobs: # Perform actions using parameter values here # For example, set environment variables - if [ "$name" = "/core/es_indexer/dev_ecr_ecs_config/ecr_repo" ]; then + if [ "$name" = "/core/geonetwork4/dev_ecr_ecs_config/ecr_repo" ]; then echo "ECR_REPOSITORY=$value" >> "$GITHUB_ENV" fi - if [ "$name" = "/core/es_indexer/dev_ecr_ecs_config/ecs_cluster" ]; then + if [ "$name" = "/core/geonetwork4/dev_ecr_ecs_config/ecs_cluster" ]; then echo "ECS_CLUSTER=$value" >> "$GITHUB_ENV" fi - if [ "$name" = "/core/es_indexer/dev_ecr_ecs_config/ecs_service" ]; then + if [ "$name" = "/core/geonetwork4/dev_ecr_ecs_config/ecs_service" ]; then echo "ECS_SERVICE=$value" >> "$GITHUB_ENV" fi - if [ "$name" = "/core/es_indexer/dev_ecr_ecs_config/container_name" ]; then + if [ "$name" = "/core/geonetwork4/dev_ecr_ecs_config/container_name" ]; then echo "CONTAINER_NAME=$value" >> "$GITHUB_ENV" fi done