Skip to content

Fix the build script #498

@kacperlukawski

Description

@kacperlukawski

Currently, the build script tries to clone the advent-of-haystack repo, but it fails when the env variables are not set, or when the GH token is expired. Even the Vercel deployment silently fails to clone it:

Cloning into 'haystack-advent'...
remote: Invalid username or token. Password authentication is not supported for Git operations.
fatal: Authentication failed for 'https://github.com/deepset-ai/advent-of-haystack.git/'
cp: cannot stat './haystack-advent/challenges/*': No such file or directory

I still don't know how to solve it best, but I assume Vercel should be authorized to access advent-of-haystack in some way.

Metadata

Metadata

Labels

bugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions