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 f8e347e commit 16699b4
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,11 @@ jobs:
curl -o "dist/fonts/TMicon.eot" "https://i.icomoon.io/public/a8317e20c1/TMIcons/TMicon.eot?73rtx5#iefix"
for url in $font_urls; do
echo "$url"
filename=$(basename "$url")
clean_url=$(echo $url | sed 's/[?#].*//')
echo "$clean_url"
filename=$(basename "$clean_url")
echo "$filename"
full_url=$url
curl -o "$dist_dir/$filename" "$full_url"
path="$dist_dir/$filename"
echo "$path"
curl -o $path $url
done
# rm $css_file
Expand Down

0 comments on commit 16699b4

Please sign in to comment.