Skip to content

Commit

Permalink
Change target path of update-link-index action (#252)
Browse files Browse the repository at this point in the history
As agreed, change the path from `/{repo}.json` to
`/{org}/{repo}/{branch}/links.json`
  • Loading branch information
reakaleek authored Jan 16, 2025
1 parent 174a7ab commit b59e1d9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions actions/update-link-index/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,4 @@ runs:
env:
LINK_REFERENCE_FILE: ${{ inputs.link_reference_file }}
run: |
repository_name=$(basename "${GITHUB_REPOSITORY}")
aws s3 cp "${LINK_REFERENCE_FILE}" "s3://${{ inputs.aws_s3_bucket_name }}/${repository_name}.json"
aws s3 cp "${LINK_REFERENCE_FILE}" "s3://${{ inputs.aws_s3_bucket_name }}/${GITHUB_REPOSITORY}/${GITHUB_REF_NAME}/links.json"

0 comments on commit b59e1d9

Please sign in to comment.