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