# Deployment with Kudu
Before starting with kudu deployment make sure you have installed kudu. If you have not kudu installed, please check the steps in Kudu section.
- Make sure you have created
.kudu.yml
config file in your home directory (e.g.~/.kudu.yml
) - Get the file id of your interactive, from admin (example: 720440)
- Open
package.json
and add to scripts:
"deploy": "npm run build; cd dist; kudu push -f HERECOMESMYFILEID; echo 'deployed'"
replace HERECOMESMYFILEID
with your file id
From now on if you run:
npm run deploy
A new version will be uploaded to admin and distributed. You can add other entries in package.json if you need to upload to different instances.