Skip to content

Commit

Permalink
fix: remove dep on githubRepository
Browse files Browse the repository at this point in the history
githubRepository is only compatible with CCI
  • Loading branch information
ze-flo committed Jun 11, 2024
1 parent d88f5df commit 14fe3cd
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions utils/scripts/deploy.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ import {
githubCommit,
githubDeploy,
githubPages,
githubRepository,
netlifyBandwidth,
netlifyDeploy
} from '@zendeskgarden/scripts';
Expand All @@ -41,9 +40,8 @@ envalid.cleanEnv(process.env, {
const usage = await cmdDu(dir);

if (bandwidth.available > usage) {
const repository = await githubRepository();
const commit = await githubCommit();
const message = `https://github.com/${repository.owner}/${repository.repo}/commit/${commit}`;
const message = `https://github.com/zendeskgarden/react-components/commit/${commit}`;
const command = async () => {
const result = await netlifyDeploy({
dir,
Expand Down

0 comments on commit 14fe3cd

Please sign in to comment.