Code of ethics are highest ethical standards that a civil servant is expected to display.
They are broadly worded and generally, their violation cannot be punished. Code of ethics help guide judgement.
Code of conduct are minimum standards of ethical behaviour expected from a civil servant.
They are narrowly and specifically worded and their violation can be punished. Code of conduct regulates action and behaviour.