Skip to content

Commit

Permalink
feat: update URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
jimbrig committed Dec 23, 2023
1 parent 1f8f82f commit f26fb07
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/jsdelivr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,19 @@ jobs:
run: |
baseUrl="https://cdn.jsdelivr.net/gh/${{ github.repository }}@main"
urls=""
for f in `find dist -name "*.js" -type f`; do
for f in `find scripts -name "*.js" -type f`; do
urls+="${baseUrl}/${f},"
done
for f in `find styles -name "*.css" -type f`; do
urls+="${baseUrl}/${f},"
done
for f in `find styles -name "*.css.map" -type f`; do
urls+="${baseUrl}/${f},"
done
for f in `find images -name "*.png" -type f`; do
urls+="${baseUrl}/${f},"
done
for f in `find images -name "*.jpg" -type f`; do
urls+="${baseUrl}/${f},"
done
echo "urls=${urls%,*}" >> $GITHUB_OUTPUT
Expand Down

0 comments on commit f26fb07

Please sign in to comment.