High-order harmonic generation (HHG) in solids opens new frontiers in ultrafast spectroscopy of carrier and field dynamics in condensed matter, picometer resolution structural lattice characterization and designing compact platforms for attosecond pulse sources. Nanoscale structuring of solid surfaces provides a powerful tool for controlling the spatial characteristics and efficiency of the harmonic emission. Here we study HHG in a prototypical phase-change material Ge2Sb2Te5 (GST). In this material the crystal phase can be reversibly changed between a crystalline and amorphous phase by light or electric current mediated methods. We show that optical phase-switching is fully reversible and allows for dynamic control of harmonic emission. This introduces GST as new addition to materials that enable flexible metasurfaces and photonic structures that can be integrated in devices and allow for ultrafast optical control.