Expand my Community achievements bar.

Issues with Action Changes Not Reflecting

Avatar

Level 3

 

I am reaching out to discuss an issue I am experiencing with the actions. It seems that the changes I am making to the actions are not reflected as expected when I invoke them. It is providing me with a previous response. Changes are visible only when we deploy the action. Is this the right way?

Could you please assist me in troubleshooting this issue?

3 Replies

Avatar

Employee
Employee

Yes, actions are updated once you deploy them. Looks like they're working as expected.

Avatar

Level 3

Thank you @tmj 

Instead of deploying the whole app by aio app deploy  to save time, we can deploy a specific action using the aio app deploy --action=[action name]

Avatar

Community Advisor

Hi @ShubhamAg2 ,


In Adobe I/O Runtime (used in App Builder), actions are deployed as serverless functions. Any code change you make only goes live after deployment.

Because locally updated code is not automatically synced to Adobe I/O Runtime. It must be uploaded (deployed) to the cloud for the changes to take effect.

You're already using the correct command:

aio app deploy --action=your-action-name


Regards,
Amit