Hi Alisa,
Please have a look at article 15 of the UK / Portugal tax treaty (
UK/PORTUGAL INCOME TAX CONVENTION SIGNED 27 MARCH 1968). It advises that your employment in the UK is taxable in the UK, while you are in the UK carrying out that employment. You will be entitled to personal allowances to set against the income. You would complete a P46 when commencing your employment. Portugal can also tax this employment, so you would have to claim a credit for any UK tax payable.
Thank you.