1
0
mirror of https://github.com/toast-ts/Daggerbot-TS.git synced 2024-11-17 00:10:58 -05:00

Use temporary branch instead of default

This commit is contained in:
toast-ts 2024-05-29 23:25:46 +10:00
parent 68fffba887
commit 93e24ba48c

View File

@ -8,7 +8,7 @@ import git from 'simple-git';
const octokit = new Octokit({auth: (await TSClient()).octokit, timeZone: 'Australia/NSW', userAgent: 'Daggerbot-TS'});
export default class GitHub {
private static repositoryConfig = {owner: 'toast-ts', ref: 'HEAD'};
private static repositoryConfig = {owner: 'toast-ts', ref: 'temp'};
public static async RemoteRepository() {
const {data} = await octokit.repos.getCommit({repo: 'Daggerbot-TS', ...this.repositoryConfig});
return data;