Skip to content

Commit

Permalink
blt: pullfiles update #nobuild
Browse files Browse the repository at this point in the history
  • Loading branch information
protitude committed Mar 8, 2024
1 parent d1a9c8f commit d786660
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions blt/src/Blt/Plugin/Commands/GhCommands.php
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit d786660

Please sign in to comment.