From d786660b15b98a231e4726842f670dab4489d0e9 Mon Sep 17 00:00:00 2001 From: protitude Date: Fri, 8 Mar 2024 11:40:17 -0700 Subject: [PATCH] blt: pullfiles update #nobuild --- blt/src/Blt/Plugin/Commands/GhCommands.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/blt/src/Blt/Plugin/Commands/GhCommands.php b/blt/src/Blt/Plugin/Commands/GhCommands.php index ea57760f8..dcb509353 100644 --- a/blt/src/Blt/Plugin/Commands/GhCommands.php +++ b/blt/src/Blt/Plugin/Commands/GhCommands.php @@ -45,8 +45,8 @@ public function pulldb() { * @description Pulls latest database artifact from Github. */ public function pullfiles() { - $this->_exec("mkdir files"); - $this->_exec("gh run download -R github.com/necyberteam/cyberteam_drupal -n amp-file-backup -D files"); + $this->_exec("gh run download -R github.com/necyberteam/cyberteam_drupal -n amp-file-backup"); + $this->_exec("tar -xzvf files.tar.gz && rm files.tar.gz"); $prev_files = 'web/sites/default/files'; if (file_exists($prev_files)) { $this->_exec("rm -fR $prev_files");