0.0.4 • Published 6 years ago
bpa-azure-test v0.0.4
bpa-azure
This project contains scripts for tasks in Azure.
Getting Started
To start using this project in your own:
- Use
npm install --save bpa-azureto install this project. - Copy the
.env.samplefile to.env.devand.env.prod. - Make sure your
.gitignorecontains.env.devand.env.prod. There will be sensitive data present that should not be commited to a repository. - Fill out the variables in the
.env.devand.env.prodto match your deploy environments. - Add scripts in the
package.jsonfor deploying in dev and prod, such as:
"scripts": {
"deploy": "bpa-azure deploy",
"deploy:prod": "bpa-azure deploy --prod"
}- Running
npm run deployornpm run deploy:prodshould now compress and deploy the file(s) targeted in.env.devor.env.prod.
Commands
The following commands are available:
- deploy
- Compress and deploy a file or files in a folder to Azure Blob Storage