A coastal Yorkshire town is offering a free weekend break to frontline NHS staff to thank them for fighting the coronavirus pandemic.