diff --git a/actions/update-link-index/action.yml b/actions/update-link-index/action.yml index 7c0eed867..d8418010a 100644 --- a/actions/update-link-index/action.yml +++ b/actions/update-link-index/action.yml @@ -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 @@ -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"