Hi CF developers. I have an existing worker, and I cannot figure out how to have a 'staging' version

Hi CF developers. I have an existing worker, and I cannot figure out how to have a 'staging' version and a 'production' version of the same worker. I have tried running npx wrangler deploy --env production and npx wrangler deploy --env staging but all it does it create a new worker with -production or -staging at the end.
Was this page helpful?