Skip to content

Commit

Permalink
Revert back to master branch for preview site builds.
Browse files Browse the repository at this point in the history
  • Loading branch information
sherakama authored Sep 22, 2023
1 parent 0113595 commit 5349bb9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions launch-preview.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ execSync('rm -Rf ./styleguide');

// Clone fresh.
console.log('Cloning...');
execSync('git clone -b task/package-updates https://github.com/su-sws/decanter-web.git styleguide');
execSync(`git clone -b ${branch} https://github.com/su-sws/decanter-web.git styleguide`);

// Change to the testing branch.
console.log('Checking out...');
execSync('cd styleguide && git checkout task/package-updates');
execSync(`cd styleguide && git checkout ${branch}`);

// Add this branch as a dependency.
console.log('Adding dependency...');
Expand Down

0 comments on commit 5349bb9

Please sign in to comment.