Deploy React on Azure

Register the application service on azure portal

Setup a virtual machine

  • Follow the step to create the agent to run the pipeline

  • Finally, run the shell on background to listen for the job

Continuous Integration (CI)

  • Specify the agent that the pipeline run

  • Install NodeJS

  • Install node modules and build

  • Make the build folder as an artifact

Continuous Deployment (CD)

  • Specify which application service to deploy on

  • Specify the artifact folder

  • Specify which agent should be used

  • Specify the startup command to start the application

Result

Last updated

Was this helpful?