TypeScript-Node-Starter icon indicating copy to clipboard operation
TypeScript-Node-Starter copied to clipboard

🚀 github-actions azure deploy

Open bmiddha opened this issue 4 years ago • 5 comments

Added GitHub Actions workflow to deploy to Azure Web App. Will require AZURE_WEBAPP_PUBLISH_PROFILE secret to be configured in GitHub. image

The Azure Web App is also expected to have the environment variables configured (https://docs.microsoft.com/en-us/azure/app-service/configure-common#configure-app-settings)

bmiddha avatar Aug 18 '20 20:08 bmiddha

/cc @diberry

peterblazejewicz avatar Aug 18 '20 20:08 peterblazejewicz

@peterblazejewicz How is this PR tested so that it works and then the demo can start working again?

diberry avatar Aug 19 '20 14:08 diberry

@diberry you're correct, thx!

@bmiddha so it works on a machine with hosted agent that can access Docker runtime directly. I don't have access to the project website on azure, but I guess it was never setup using the CI to build and deploy (due to MongoDB image dependency). So technically there is no runtime to properly execute all steps in the pipeline (at least for this very project website). Are you changes intended as an example how to use CI (on Azure DevOps) to build a project like that one and deploy it to working environment?

@diberry do you know someone from MS that owns this project? If not I'll ask Orta

peterblazejewicz avatar Aug 19 '20 15:08 peterblazejewicz

@peterblazejewicz - I don't know who owns it - sorry - if you find out, please let me know.

diberry avatar Aug 19 '20 15:08 diberry

Looks like its not in any of the TypeScript Azure properties, so I don't have access keys to be able to add to the GH actions secret. I think we should probably drop the link.

orta avatar Aug 30 '21 13:08 orta