Skip to content

Commit ed4b105

Browse files
Ensure the arn table file is being generated in the github workspace
1 parent 7bbd56f commit ed4b105

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.ci/create-arn-table.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ set -o pipefail
77
# AWS_FOLDER - that's the location of the publish-layer-version output for each region
88

99
AWS_FOLDER=${AWS_FOLDER?:No aws folder provided}
10-
ARN_FILE=".arn-file.md"
10+
# Get the repository root directory (where .git is located)
11+
REPO_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
12+
ARN_FILE="${REPO_ROOT}/.arn-file.md"
1113

1214
{
1315
echo "<details>"
@@ -28,3 +30,5 @@ done
2830
echo '</details>'
2931
echo ''
3032
} >> "${ARN_FILE}"
33+
34+
echo "INFO: Created ARN table at ${ARN_FILE}"

0 commit comments

Comments
 (0)