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 c044833 commit 0729335
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,16 @@ jobs:
dist_dir="dist/fonts"
curl -o $css_file $css_url
font_urls=$(grep -oP '(?<=url\().+?(?=\))' $css_file | sort -u)
# font_urls=$(grep -oP '(?<=url\().+?(?=\))' $css_file | sort -u)

for url in $font_urls; do
filename=$(basename $url)
curl -o $dist_dir/$filename $url
done
# for url in $font_urls; do
# filename=$(basename $url)
# curl -o $dist_dir/$filename $url
# done

rm $css_file
# rm $css_file

echo "Font files downloaded successfully."
# echo "Font files downloaded successfully."

# - name: Configure Git
# run: |
Expand Down

0 comments on commit 0729335

Please sign in to comment.