Skip to content

Commit

Permalink
Copy assets to app btcpay submodule webroot
Browse files Browse the repository at this point in the history
  • Loading branch information
dennisreimann committed Apr 18, 2024
1 parent 5acc2cd commit 6168c55
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions tasks/copy-assets-to-targets.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,16 @@ if [ -d "$BTCPAY_APP_WWWROOT" ]; then
cp dist/styles/btcpayserver-bootstrap.css "$BTCPAY_APP_WWWROOT/bootstrap/bootstrap.css"
cp dist/scripts/bootstrap/* "$BTCPAY_APP_WWWROOT/bootstrap/"
cp dist/svg/icons.svg "$BTCPAY_APP_WWWROOT/img/icon-sprite.svg"
cp dist/svg/supporters.svg "$BTCPAY_APP_WWWROOT/img/supporter-sprite.svg"

echo "Copied assets to $BTCPAY_APP_WWWROOT"
fi

if [ -d "$BTCPAY_APP_SERVER_WWWROOT" ]; then
cp dist/styles/btcpayserver-bootstrap.css "$BTCPAY_APP_SERVER_WWWROOT/main/bootstrap/bootstrap.css"
cp dist/scripts/bootstrap/* "$BTCPAY_APP_SERVER_WWWROOT/vendor/bootstrap/"
cp dist/svg/icons.svg "$BTCPAY_APP_SERVER_WWWROOT/img/icon-sprite.svg"
cp dist/svg/supporters.svg "$BTCPAY_APP_SERVER_WWWROOT/img/supporter-sprite.svg"

echo "Copied assets to $BTCPAY_APP_SERVER_WWWROOT"
fi

0 comments on commit 6168c55

Please sign in to comment.