During a daytime VFR cross-country flight at 4,500 feet AGL, the alternator failure light illuminates and the ammeter shows a continuous discharge. Recycling the alternator switch has no effect, and battery voltage is steadily decreasing. The nearest suitable airport is 25 minutes flying time directly ahead at cruise speed. What is the MOST IMPORTANT action to take?