It depends. Most discounts cannot be applied to gift cards. The exception is a product-specific discount where the product is a gift card.