Update azure-pipelines.yml for Azure Pipelines
Added the logic for the backend
This commit is contained in:
@@ -9,3 +9,15 @@ trigger:
|
||||
pool:
|
||||
vmImage: 'ubuntu-latest'
|
||||
|
||||
steps:
|
||||
- task: SSH@0
|
||||
displayName: 'Run shell commands on remote machine'
|
||||
inputs:
|
||||
sshEndpoint: GoogleServer
|
||||
commands: '/var/lib/app/pipeline/backend-deploy.sh'
|
||||
failOnStdErr: false
|
||||
- task: SSH@0
|
||||
displayName: 'Run shell commands on remote machine'
|
||||
inputs:
|
||||
sshEndpoint: GoogleServer
|
||||
commands: '/var/lib/app/pipeline/frontend-deploy.sh'
|
||||
|
||||
Reference in New Issue
Block a user