Skip to content

Commit

Permalink
Removed some unneeded code, now that there's no ./ in the matrix prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
Cameronsplaze committed Nov 1, 2024
1 parent ad18712 commit 8eafcd7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main-pipeline-cdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -156,8 +156,8 @@ jobs:

## Deploy the Leaf Stack:
- name: "Deploying: ${{ matrix.deploy-config }}"
# container-id: Take off the beginning './' and the end '-example.yaml', to use the example file directly.
# container-id: Take off the end '-example.yaml', and make all lowercase, to use the example file directly.
run: |
make cdk-deploy-leaf \
config-file="${{ env.EXAMPLES_PATH }}/${{ matrix.deploy-config }}" \
container-id=$(echo "${{ matrix.deploy-config }}" | sed -E 's/^\.\///' | sed -E 's/-example\.ya?ml$//i')
container-id=$(echo "${{ matrix.deploy-config }}" | sed -E 's/-example\.ya?ml$//i')

0 comments on commit 8eafcd7

Please sign in to comment.