Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
darrytai committed May 21, 2024
1 parent 4f183bf commit cc7af05
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ jobs:
font_urls=$(grep -oP 'url\(\K[^)]+' style.css | sort -u)
for url in $font_urls; do
echo "URL: $url"
filename=$(basename "${url%%\?*}")
curl "$url"
clean_url=$(echo $url | sed 's/[?#].*//')
ffilename=$(basename "$clean_url")
curl -o "$dist_dir/$filename" "$clean_url"
done
# rm $css_file
Expand Down

0 comments on commit cc7af05

Please sign in to comment.