1
1
mirror of https://github.com/primer/css.git synced 2024-12-15 15:34:02 +03:00
css/script/update-assets
2019-02-04 15:38:17 -08:00

13 lines
315 B
Bash
Executable File

#!/bin/sh
set -e
asset_path=./static
bundles="styleguide.js styleguide.css"
echo "Grabbing the latest assets from github.com..."
for bundle in $bundles; do
echo "Downloading $bundle -> $asset_path/github/$bundle ..."
curl -fsSLo "$asset_path/github/$bundle" "https://github.com/site/assets/$bundle"
done