diff --git a/.github/workflows/ci-build-site.yml b/.github/workflows/ci-build-site.yml index 5692ccb3..451e500f 100644 --- a/.github/workflows/ci-build-site.yml +++ b/.github/workflows/ci-build-site.yml @@ -123,8 +123,8 @@ jobs: - name: Remove hashes from CSS and JS files references run: | - 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' {} + + 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' {} + - name: Generate diff run: |