1
1
mirror of https://github.com/primer/css.git synced 2024-12-26 15:43:59 +03:00
css/script/update-assets
2019-02-04 12:55:18 -08:00

13 lines
311 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