Skip to content
This repository was archived by the owner on Dec 17, 2024. It is now read-only.

Commit 2fe20c7

Browse files
authored
Update to correct path
1 parent 48c8c86 commit 2fe20c7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/sync.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,16 +76,16 @@ jobs:
7676
# Loop through the JSON files and replace the paths
7777
for file in *.json; do
7878
echo "Processing $file"
79-
# Replace "/icons/" with "/assets/media/icons/"
80-
sed -i 's|"/icons/|"/assets/media/icons/|g' "$file"
79+
# Replace "/icons/" with "/media/icons/"
80+
sed -i 's|"/icons/|"/media/icons/|g' "$file"
8181
done
8282
8383
- name: Commit changes to JSON branch
8484
run: |
8585
git config user.name "github-actions[bot]"
8686
git config user.email "github-actions[bot]@users.noreply.github.com"
8787
git add .
88-
git commit -m "Updated image paths to /assets/media/icons/" || echo "No changes to commit"
88+
git commit -m "Updated image paths || echo "No changes to commit"
8989
9090
- name: Push changes to JSON branch
9191
run: |

0 commit comments

Comments
 (0)