Surface critical behaviour of the Ising model