Skip to content

Commit

Permalink
Remove query string hashes from CSS and JS file paths in directories
Browse files Browse the repository at this point in the history
  • Loading branch information
paskal committed Nov 1, 2024
1 parent da94b0e commit 3da980a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci-build-site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,8 @@ jobs:
- name: Remove hashes from CSS and JS files references
run: |
find old-master/public -type f -exec sed -i 's/\(js\|css\)?id=[^"'\''"]\+//g' {} +
find new-master/public -type f -exec sed -i 's/\(js\|css\)?id=[^"'\''"]\+//g' {} +
find ${{ steps.set-dirs.outputs.old_dir }}/public -type f -exec sed -i 's/\(js\|css\)?id=[^"'\''"]\+//g' {} +
find ${{ steps.set-dirs.outputs.new_dir }}/public -type f -exec sed -i 's/\(js\|css\)?id=[^"'\''"]\+//g' {} +
- name: Generate diff
run: |
Expand Down

0 comments on commit 3da980a

Please sign in to comment.