Skip to content

Commit 37fcf0a

Browse files
authored
Update update-docs.yml
1 parent 17cc373 commit 37fcf0a

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/update-docs.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,14 @@ jobs:
7070
echo "Cannot rename $0 to $new_name: file already exists"
7171
fi
7272
' {} \;
73+
- name: Rename Files
74+
run: |
75+
if [ -f "api-reference/posts/analytics-of-posts.mdx" ]; then
76+
mv api-reference/posts/analytics-of-posts.mdx api-reference/posts/get-engagement-analytics.mdx
77+
echo "Renamed analytics-of-posts.mdx to get-engagement-analytics.mdx"
78+
else
79+
echo "Source file api-reference/posts/analytics-of-posts.mdx not found"
80+
fi
7381
- name: Move Files to x-api
7482
run: |
7583
# Function to move files from api-reference to x-api

0 commit comments

Comments
 (0)