Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ jobs:
run: npm run index
env:
AUGMENT_API_TOKEN: ${{ secrets.AUGMENT_API_TOKEN }}
AUGMENT_API_URL: ${{ secrets.AUGMENT_API_URL }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
STORAGE_TYPE: file
# Branch-specific state path (automatically determined from GITHUB_REF)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const DEFAULT_MAX_FILES = 500;

export class IndexManager {
private readonly github: GitHubClient;
private readonly context: DirectContext;
private context: DirectContext;
private readonly config: IndexConfig;
private readonly statePath: string;

Expand Down Expand Up @@ -373,7 +373,7 @@ export class IndexManager {
try {
// Create a new context from the previous state
this.context = await DirectContext.importFromFile(tempStateFile, {
apiKey: this.config.apiKey,
apiKey: this.config.apiToken,
apiUrl: this.config.apiUrl,
});
} finally {
Expand Down
Loading