File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed
Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -63,19 +63,19 @@ runs:
6363
6464 - name : Install node dependencies
6565 shell : bash
66- working-directory : infrastructure/aws
66+ working-directory : ${{ inputs.dir }}
6767 run : uv run npm install
6868
6969 - name : CDK Synth
7070 shell : bash
71- working-directory : infrastructure/aws
71+ working-directory : ${{ inputs.dir }}
7272 run : uv run npm run cdk -- synth
7373
7474 - name : Deploy Test
7575 if : ${{ inputs.skip_deploy == 'false' }}
76- id : deploy_titiler_cmr_stack
76+ id : deploy_titiler_cmr_stack
77+ working-directory : ${{ inputs.dir }}
7778 run : uv run cdk deploy --all --require-approval never --outputs-file ${HOME}/cdk-outputs.json
78- working-directory : infrastructure/aws
7979 shell : bash
8080 env :
8181 TITILER_CMR_ROLE_ARN : $TITILER_CMR_READER_ROLE_ARN
Original file line number Diff line number Diff line change 3333 needs : [define-environment]
3434 environment : ${{ needs.define-environment.outputs.env_name }}
3535 concurrency : ${{ needs.define-environment.outputs.env_name }}
36+ env :
37+ DIRECTORY : titiler-cmr
3638
3739 steps :
3840 - name : Checkout
5052 - name : Run titiler-cmr deployment
5153 uses : " ./.github/actions/cdk-deploy"
5254 with :
55+ dir : " ${{ env.DIRECTORY }}/infrastructure/aws"
5356 env_aws_secret_name : ${{ vars.ENV_AWS_SECRET_NAME }}
5457 script_path : " ./.github/workflows/generate_env_file.py"
5558
You can’t perform that action at this time.
0 commit comments