Skip to content
This repository was archived by the owner on Mar 26, 2023. It is now read-only.
This repository was archived by the owner on Mar 26, 2023. It is now read-only.

Build not working. #42

Open
Open
@noobiept

Description

@noobiept

Hello, I have an existing swift project that I'm trying to add to heroku.

I'm creating a new application on heroku and pushing the code but get this error.

remote: Building source:
remote:
remote: -----> Swift app detected
remote: fatal: not a git repository (or any parent up to mount point /)
remote: Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
remote: ! Push rejected, failed to compile Swift app.
remote:
remote: ! Push failed
remote: Verifying deploy...
remote:
remote: ! Push rejected to (app).
remote:
To https://git.heroku.com/(app).git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/(app).git'

Basically the git repository on heroku isn't initialized, but not sure how to do that from my side.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions