Skip to content

Commit 4701462

Browse files
authored
Fix update-link-index-action (#248)
The action failed in https://github.com/elastic/kibana.md/actions/runs/12796978373/job/35677871586 This should fix it.
1 parent 0f9537b commit 4701462

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

actions/update-link-index/action.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,6 @@ inputs:
2424
runs:
2525
using: composite
2626
steps:
27-
- name: Update Link Index
28-
run: |
29-
echo "Updating link index"
3027
- name: Generate AWS Role ARN
3128
id: role_arn
3229
shell: python
@@ -50,7 +47,9 @@ runs:
5047
role-to-assume: ${{ steps.role_arn.outputs.result }}
5148
aws-region: us-east-1
5249
- name: Upload Link Reference File to S3
53-
bash: shell
50+
shell: bash
51+
env:
52+
LINK_REFERENCE_FILE: ${{ inputs.link_reference_file }}
5453
run: |
5554
repository_name=$(basename "${GITHUB_REPOSITORY}")
56-
aws s3 cp ${{ inputs.link_reference_file }} "s3://${{ inputs.aws_s3_bucket_name }}/${repository_name}.json"
55+
aws s3 cp "${LINK_REFERENCE_FILE}" "s3://${{ inputs.aws_s3_bucket_name }}/${repository_name}.json"

0 commit comments

Comments
 (0)