diff options
author | 杨宇千 <crupest@outlook.com> | 2019-07-27 23:46:39 +0800 |
---|---|---|
committer | 杨宇千 <crupest@outlook.com> | 2019-07-27 23:46:39 +0800 |
commit | d68fcb6b67307987f95f12d2211f0a40f1055e9b (patch) | |
tree | acbf0242661eadac20a20115dda0192357add2d5 | |
parent | a206450f9ecbd6360f4f8f7855c71e6a35460e98 (diff) | |
download | timeline-d68fcb6b67307987f95f12d2211f0a40f1055e9b.tar.gz timeline-d68fcb6b67307987f95f12d2211f0a40f1055e9b.tar.bz2 timeline-d68fcb6b67307987f95f12d2211f0a40f1055e9b.zip |
CI: Remove dumplicated artifact download.
-rw-r--r-- | azure-pipelines.yml | 8 |
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
|