Skip to content

Commit b59e1d9

Browse files
authored
Change target path of update-link-index action (#252)
As agreed, change the path from `/{repo}.json` to `/{org}/{repo}/{branch}/links.json`
1 parent 174a7ab commit b59e1d9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

actions/update-link-index/action.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,5 +51,4 @@ runs:
5151
env:
5252
LINK_REFERENCE_FILE: ${{ inputs.link_reference_file }}
5353
run: |
54-
repository_name=$(basename "${GITHUB_REPOSITORY}")
55-
aws s3 cp "${LINK_REFERENCE_FILE}" "s3://${{ inputs.aws_s3_bucket_name }}/${repository_name}.json"
54+
aws s3 cp "${LINK_REFERENCE_FILE}" "s3://${{ inputs.aws_s3_bucket_name }}/${GITHUB_REPOSITORY}/${GITHUB_REF_NAME}/links.json"

0 commit comments

Comments
 (0)