Object decoding error while publishing repo manually
movefasta opened this issue · comments
Hi!
I got an error while publishing repo manually
# ipfs-publish -v publish github_com_movefasta_suzdal
INFO:publish.config:Loading and caching config from file: /root/.ipfs_publish.toml
INFO:publish.publishing:Cloning repo: 'https://github.com/movefasta/suzdal' to /tmp/tmpss89jlqb
INFO:publish.config:Connecting and caching to IPFS host 'localhost' on port 5001
INFO:publish.publishing:Adding directory /tmp/tmpss89jlqb/ci to IPFS
ERROR:publish.cli:Object decoding error: Expecting value: line 1 column 1 (char 0)
Repo downloaded succesfully:
# ls /tmp/tmpss89jlqb
CHANGELOG.md docs elm-git.json elm.json LICENSE package.json package-lock.json README.md src webpack.config.js yarn.lock
But there is no ci folder:
# ls /tmp/tmpss89jlqb/ci
ls: cannot access '/tmp/tmpss89jlqb/ci': No such file or directory
Here is my config:
# ipfs-publish show github_com_movefasta_suzdal
github_com_movefasta_suzdal
Git URL: https://github.com/movefasta/suzdal
Secret: <redacted>
IPNS key: ipfs_publish_github_com_movefasta_suzdal
IPNS lifetime: 24h
IPNS ttl: 15m
IPNS address: /ipns/Qmei3B1ovgbKtmhf3v7oGWXJkccHnUKb1uCahkQNLmtJGJ/
Last IPFS address: None
Webhook address: http://localhost:8080/publish/github_com_movefasta_suzdal
Thanks for any advice!
Hey there,
sorry for the very late answer. Did you manage to overcome this issue?
Well, unfortunately, ipfs-publish show
does not really say all the configuration. Could you post here your config.toml
file? If you don't use specific path, then it should be placed at ~/.ipfs_publish.toml
.
My guess is that you specified folder ci
as a folder inside the repo that should be published...
No update here, so I am closing this issue.