From f8128a1d0b32bc60c8a87ef2e39fa4e71d23aa40 Mon Sep 17 00:00:00 2001 From: Thomas Date: Sat, 8 Feb 2020 20:07:46 +0000 Subject: [PATCH] Update azure-pipelines.yml for Azure Pipelines Added the logic for the backend --- azure-pipelines.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 9c161da..5c028a3 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -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'