Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Testing, getting errors #74

Open
greggman opened this issue Aug 29, 2017 · 2 comments
Open

Testing, getting errors #74

greggman opened this issue Aug 29, 2017 · 2 comments

Comments

@greggman
Copy link

so first I wanted to just test so I created a folder, I manually cloned my repo

 git clone ssh://test.com/path/to/repo test

The Caddyfile had this

  git {
    repo ssh://test.com/path/to/repo
    path ../
    interval -1
    hook /pull
    hook_type generic
    then_long command "npm run build"
  }

but when I ran caddy I got this error

017/08/29 15:57:52 another git repo 'ssh://test.com/path/to/repo.git' exists at .

No idea what that means.

If I comment out the git section above my Caddyfile works fine

Any ideas?

@electricduck
Copy link

Not sure what happened, but I accidentally referenced your issue in mine. This is incorrect.

@abiosoft
Copy link
Owner

abiosoft commented Sep 2, 2017

Try this
Use https url if public repo. e.g. https://test.com/path/to/repo.
Or this format if it is private repo. [email protected]:user/repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants