lnnrtwttkhn / bookdown-playground

In this repo I play around with bookdown and Travis CI
MIT License
0 stars 0 forks source link

Cloning subdataset failed #2

Open lnnrtwttkhn opened 3 years ago

lnnrtwttkhn commented 3 years ago

Cloning the subdataset did not work.

Please make sure you have the correct access rights

and the repository exists.

fatal: clone of 'git@github.com:lnnrtwttkhn/bookdown-playground.git' into submodule path '/home/travis/build/lnnrtwttkhn/bookdown-playground/subdataset' failed

Failed to clone 'subdataset'. Retry scheduled

Cloning into '/home/travis/build/lnnrtwttkhn/bookdown-playground/subdataset'...

Permission denied (publickey).

fatal: Could not read from remote repository.

Please make sure you have the correct access rights

and the repository exists.

fatal: clone of 'git@github.com:lnnrtwttkhn/bookdown-playground.git' into submodule path '/home/travis/build/lnnrtwttkhn/bookdown-playground/subdataset' failed

Failed to clone 'subdataset' a second time, aborting

The command "eval git submodule update --init --recursive " failed 3 times.

The command "git submodule update --init --recursive" failed and exited with 1 during .

Your build has been stopped.

https://github.com/lnnrtwttkhn/bookdown-playground/runs/1122343760

I suspect that it's because it was first added using ssh and not https.

lnnrtwttkhn commented 3 years ago

Related error:

output file: bookdown-playground.knit.md

Error: Input files not all in same directory, please supply explicit wd

Execution halted

The command "./_build.sh" exited with 1.

0.79s$ ./_deploy.sh

Cloning into 'book-output'...

cp: cannot stat '../_book/*': No such file or directory

The command "./_deploy.sh" exited with 1.
cache.2

store build cache

Discussion of potential fixes: https://stackoverflow.com/questions/62578811/error-input-files-not-all-in-same-directory-please-supply-explicit-wd