Skip to content

Commit 259bad7

Browse files
committed
chore(ci): fix layer publisher commands
1 parent c0a60cf commit 259bad7

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Diff for: .github/workflows/reusable_deploy_layer_stack.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -95,14 +95,14 @@ jobs:
9595
if: ${{ inputs.stage == 'PROD' }}
9696
run: |
9797
mkdir cdk-layer-stack
98-
jq -r -c '.LayerPublisherStack.LatestLayerArn' cdk-outputs.json > cdk-layer-stack/${{ matrix.region }}-layer-version.txt
98+
jq -r -c '.LayerPublisherStack.LatestLayerArn' layers/cdk-outputs.json > cdk-layer-stack/${{ matrix.region }}-layer-version.txt
9999
cat cdk-layer-stack/${{ matrix.region }}-layer-version.txt
100100
- name: Save Layer ARN artifact
101101
if: ${{ inputs.stage == 'PROD' }}
102102
uses: actions/upload-artifact@v3
103103
with:
104104
name: cdk-layer-stack
105-
path: ./layer/cdk-layer-stack/* # NOTE: upload-artifact does not inherit working-directory setting.
105+
path: ./cdk-layer-stack/* # NOTE: upload-artifact does not inherit working-directory setting.
106106
if-no-files-found: error
107107
retention-days: 1
108108
update_layer_arn_docs:

Diff for: .github/workflows/reusable_update_layer_arn_docs.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Update V2 Layer ARN Docs
1+
name: Update Layer ARN Docs
22

33
on:
44
workflow_call:
@@ -28,7 +28,7 @@ jobs:
2828
fetch-depth: 0
2929
- name: Git client setup and refresh tip
3030
run: |
31-
git config user.name "Release bot"
31+
git config user.name "Release bot[bot]"
3232
git config user.email "[email protected]"
3333
git config pull.rebase true
3434
git config remote.origin.url >&- || git remote add origin https://github.com/"${origin}" # Git Detached mode (release notes) doesn't have origin

0 commit comments

Comments
 (0)