Run step only on the very first time the workflow is executed

I want to deploy in a workflow step using pm2. The very first time pm2 needs to be run with pm2 deploy productions setup to set everything up on the remote machine. This step would only need to be run exactly once when the workflow is executed the very first time. Is that possible?

I think you can remove the step from the workflow in the YAML file, after the workflow completed to execute at the very first time.