Supports deployment of a zip archive to Azure App Service via Git from within Node.js.
At this point in time, this is very much a work-in-progress and the API may be subject to change. Use at your own risk.
Install
Requires Node >= 6.
npm install azur --save-dev
Usage
import Application from 'azur';
const app = new Application({
appName: '<your-site>',
username: '<deployment-username>',
password: '<deployment-password>',
gitName: 'Automation',
gitEmail: 'noreply@nhardy.id.au',
});
app.deploy({
archiveFilePath: 'path/to/archive.zip',
}).then(() => {
console.log('Done!');
});
DEBUG=azur
may be set in your environment variables to enable some logging during the deployment process.
Notable influences