Skip to content

Commit a82b13e

Browse files
committed
Updated deployment
1 parent 97360fb commit a82b13e

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/deploy.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,9 @@ jobs:
4646
PROJECT: "openaq"
4747

4848
## deployment variables
49-
CDK_ACCOUNT: ${{ secrets.CDK_ACCOUNT }}
50-
CDK_REGION: ${{ secrets.CDK_REGION }}
49+
# CDK_ACCOUNT: ${{ secrets.CDK_ACCOUNT }}
50+
# CDK_REGION: ${{ secrets.CDK_REGION }}
51+
5152
VPC_ID: ${{ env.AEOLUS_VPC_ID }}
5253

5354
TOPIC_ARN: ${{ env.AEOLUS_FETCH_OBJECT_TOPIC_ARN }}

cdk/utils.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def create_dependencies_layer(
2323
output_dir = f'../.build/{function_name}'
2424
layer_id = f'openaq-{function_name}-{env_name}-dependencies'
2525

26-
if not environ.get('SKIP_PIP'):
26+
if not environ.get('SKIP_BUILD'):
2727
print(f'Building {layer_id} from {requirements_file} into {output_dir}')
2828
subprocess.run(
2929
f"""python -m pip install -qq -r {requirements_file} \

0 commit comments

Comments
 (0)