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:
parent
68fffba887
commit
93e24ba48c
@ -8,7 +8,7 @@ import git from 'simple-git';
|
|||||||
|
|
||||||
const octokit = new Octokit({auth: (await TSClient()).octokit, timeZone: 'Australia/NSW', userAgent: 'Daggerbot-TS'});
|
const octokit = new Octokit({auth: (await TSClient()).octokit, timeZone: 'Australia/NSW', userAgent: 'Daggerbot-TS'});
|
||||||
export default class GitHub {
|
export default class GitHub {
|
||||||
private static repositoryConfig = {owner: 'toast-ts', ref: 'HEAD'};
|
private static repositoryConfig = {owner: 'toast-ts', ref: 'temp'};
|
||||||
public static async RemoteRepository() {
|
public static async RemoteRepository() {
|
||||||
const {data} = await octokit.repos.getCommit({repo: 'Daggerbot-TS', ...this.repositoryConfig});
|
const {data} = await octokit.repos.getCommit({repo: 'Daggerbot-TS', ...this.repositoryConfig});
|
||||||
return data;
|
return data;
|
||||||
|
Loading…
Reference in New Issue
Block a user