Skip to content

Commit

Permalink
Fix update-link-index-action (#248)
Browse files Browse the repository at this point in the history
  • Loading branch information
reakaleek authored Jan 15, 2025
1 parent 0f9537b commit 4701462
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions actions/update-link-index/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,6 @@ inputs:
runs:
using: composite
steps:
- name: Update Link Index
run: |
echo "Updating link index"
- name: Generate AWS Role ARN
id: role_arn
shell: python
Expand All @@ -50,7 +47,9 @@ runs:
role-to-assume: ${{ steps.role_arn.outputs.result }}
aws-region: us-east-1
- name: Upload Link Reference File to S3
bash: shell
shell: bash
env:
LINK_REFERENCE_FILE: ${{ inputs.link_reference_file }}
run: |
repository_name=$(basename "${GITHUB_REPOSITORY}")
aws s3 cp ${{ inputs.link_reference_file }} "s3://${{ inputs.aws_s3_bucket_name }}/${repository_name}.json"
aws s3 cp "${LINK_REFERENCE_FILE}" "s3://${{ inputs.aws_s3_bucket_name }}/${repository_name}.json"

0 comments on commit 4701462

Please sign in to comment.