Skip to content

Commit

Permalink
Updated deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
caparker committed Jun 11, 2024
1 parent 97360fb commit a82b13e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,9 @@ jobs:
PROJECT: "openaq"

## deployment variables
CDK_ACCOUNT: ${{ secrets.CDK_ACCOUNT }}
CDK_REGION: ${{ secrets.CDK_REGION }}
# CDK_ACCOUNT: ${{ secrets.CDK_ACCOUNT }}
# CDK_REGION: ${{ secrets.CDK_REGION }}

VPC_ID: ${{ env.AEOLUS_VPC_ID }}

TOPIC_ARN: ${{ env.AEOLUS_FETCH_OBJECT_TOPIC_ARN }}
Expand Down
2 changes: 1 addition & 1 deletion cdk/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def create_dependencies_layer(
output_dir = f'../.build/{function_name}'
layer_id = f'openaq-{function_name}-{env_name}-dependencies'

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

0 comments on commit a82b13e

Please sign in to comment.