aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--azure-pipelines.yml8
1 files changed, 1 insertions, 7 deletions
diff --git a/azure-pipelines.yml b/azure-pipelines.yml
index c394bc67..b27b3112 100644
--- a/azure-pipelines.yml
+++ b/azure-pipelines.yml
@@ -43,15 +43,9 @@ stages:
runOnce:
deploy:
steps:
- - task: DownloadPipelineArtifact@2
- displayName: 'Download Pipeline Artifact'
- inputs:
- artifactName: timeline
- path: '$(System.DefaultWorkingDirectory)/Timeline/'
-
- script: |
rm -rf /var/timeline/*
- cp -r $SYSTEM_DEFAULTWORKINGDIRECTORY/Timeline/. /var/timeline/
+ cp -r $PIPELINE_WORKSPACE/timeline/. /var/timeline/
sudo systemctl restart timeline.service
displayName: 'Command Line Script'
failOnStderr: true