I am trying to build CI/CD for a nodejs application using Azure pipeline to be deployed in Azure VM . I can see the build being successful but the deployment is not . Can anyone help me with bash command to start the node server.
The below is the yaml portion of deploy stage
- stage: Deploy
displayName: Deploy stage
dependsOn: Build
condition: succeeded()
jobs:
- deployment: VMDeploy
displayName: web
environment:
name: VMtest
resourceType: VirtualMachine
tags: web
strategy:
runOnce:
deploy:
steps:
- script: echo my first deployment