Skip to content

Commit 905631c

Browse files
chore: updated target folder on docs repo
1 parent dcd4495 commit 905631c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/scripts/process-passport-tutorials.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ if [ ! -f "${FEATURES_JSON}" ]; then
1919
fi
2020

2121
# Base directory for usage guides in the docs repo
22-
DOCS_USAGE_GUIDES_DIR="${DOCS_REPO_DIR}/docs/main/build/unity/usage-guides"
22+
DOCS_USAGE_GUIDES_DIR="${DOCS_REPO_DIR}/docs/main/build/unity/usage-guides/passport"
2323

2424
# Check if _tutorials~ directory exists
2525
if [ ! -d "${TUTORIALS_DIR}" ]; then
@@ -39,7 +39,7 @@ else
3939
echo "Found tutorial for ${GROUP_NAME}"
4040

4141
# Define the destination directory for this feature group
42-
DEST_GROUP_DIR="${DOCS_USAGE_GUIDES_DIR}/${GROUP_NAME}"
42+
DEST_GROUP_DIR="${DOCS_USAGE_GUIDES_DIR}/_tutorials"
4343
mkdir -p "${DEST_GROUP_DIR}"
4444

4545
# Use the folder name directly for the destination filename
@@ -55,10 +55,10 @@ else
5555
fi
5656

5757
# Copy the generated JSON file
58-
JSON_FILE="./_parsed/passport-features.json"
58+
JSON_FILE="./_parsed/passport-examples.json"
5959
if [ -f "${JSON_FILE}" ]; then
6060
# Create directory for JSON file if it doesn't exist
61-
JSON_DIR="${DOCS_REPO_DIR}/docs/main/build/unity/usage-guides"
61+
JSON_DIR="${DOCS_REPO_DIR}/docs/main/build/unity/usage-guides/passport"
6262
mkdir -p "${JSON_DIR}"
6363

6464
# Copy JSON file

0 commit comments

Comments
 (0)