From f5713f628381e632e8fdbcb02a930c346a639dca Mon Sep 17 00:00:00 2001 From: Anthony Lukach Date: Mon, 23 Dec 2024 18:27:40 -0800 Subject: [PATCH] Update file copy action --- .github/actions/deploy_infrastructure/action.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/actions/deploy_infrastructure/action.yml b/.github/actions/deploy_infrastructure/action.yml index bfc958c7..2b74ae28 100644 --- a/.github/actions/deploy_infrastructure/action.yml +++ b/.github/actions/deploy_infrastructure/action.yml @@ -76,14 +76,12 @@ runs: command: up stack-name: ${{ inputs.environment }} - # Copy shared database_client.py files - - name: Copy Shared File + - name: Copy common db files shell: bash run: | - mkdir -p cerulean_cloud/cloud_function_ais_analysis/cerulean_cloud/ - cp cerulean_cloud/database_client.py cerulean_cloud/cloud_function_ais_analysis/cerulean_cloud/database_client.py - cp cerulean_cloud/database_schema.py cerulean_cloud/cloud_function_ais_analysis/cerulean_cloud/database_schema.py + mkdir -p cerulean_cloud/cloud_function_ais_analysis/cerulean_cloud/common cp cerulean_cloud/__init__.py cerulean_cloud/cloud_function_ais_analysis/cerulean_cloud/__init__.py + cp cerulean_cloud/common/{__init__, database_client, database_schema}.py cerulean_cloud/cloud_function_ais_analysis/cerulean_cloud/common - name: Deploy Infrastructure uses: pulumi/actions@v5