Staging envs are optional remote envs attached to an existing site.
nf site staging status client.app1-linode
If a staging env exists, status prints the env ID and URL. If not, it prints the command to create one.
Preview first:
nf site staging add client.app1-linode --dry-run
Execute explicitly:
nf site staging add client.app1-linode --execute --yes
You can also create staging while adding the site:
nf site add app1-linode client --with-staging --execute --yes
Preview first:
nf site staging remove client.app1-linode --dry-run
Execute explicitly:
nf site staging remove client.app1-linode --execute --yes
rm is a shorthand for remove:
nf site staging rm client.app1-linode --dry-run
nf site remove client.app1-linode:staging is intentionally rejected. Use nf site staging remove <site> to delete staging, or nf site remove <site> to delete the whole site.