Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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"
Loading