Skip to content

Commit 9e9c8d0

Browse files
authored
fix(workflows/pr-test): resolve files in CONTENT_TRANSLATED_ROOT (#25580)
The new PR Test workflow didn't build any file, because it was looking for the changed translated-content files inside the content checkout.
1 parent 27bc5f4 commit 9e9c8d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/pr-test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ jobs:
113113
# and it can't use the default CONTENT_ROOT that gets set in
114114
# package.json.
115115
echo Y|yarn rari update
116-
ARGS=$(echo $GIT_DIFF_CONTENT | sed -E -e "s#(^| )files#\1-f $PWD/files#g")
116+
ARGS=$(echo $GIT_DIFF_CONTENT | sed -E -e "s#(^| )files#\1-f $CONTENT_TRANSLATED_ROOT#g")
117117
yarn rari build --no-basic --json-issues --data-issues $ARGS
118118
yarn yari-render-html
119119

0 commit comments

Comments
 (0)