Open kookma opened 4 years ago
@mklauber
I could solve the issue
Change .travis.yml
script:
- mkdir -p node_modules/tiddlywiki/plugins/published/
- cp -r plugins/* node_modules/tiddlywiki/plugins/published
- tiddlywiki . --output output/library --build library
- tiddlywiki . --output output --build gui
and it will work.
Hmm... you said it works for you for 5.1.21? I'm looking at the build history, and I'm seeing an error message invalid option "--token="
. Are you sure you've setup your GITHUB_API_TOKEN correctly? I think that's what that error is indicating.
Yes, I have! I was able to create the library both for TW5.1.21 and 5.1.22p. My problem right now is how to customize the GUI (of course I change it to docs folder) On the local machine I cannot open the wiki and add new tiddlers to it! I am not sure how you did this.
@mklauber I followed everything as described in the Readme. The build process was successful. Travis shows successful deploy! But the library folder is empty!
I could not find the source of issue as Travis made the library few times but then I added more plugins to plugins folder and it did not deploy the library anymore while it shows the successful build.
More comments: Without Travis I tried to repeat the process using the tiddlywiki.info you provided and I was successful to create the library and upload to GitHub.
So, I think something goes wrong with Travis+GitHub
The repo works great with Tiddlywiki 5.1.21 but it seems the .ytravis.yml should be revised to be able to work with prerelease.
I changed the before_install as below
but it fails on the next part
travis issues an error on build seems it cannot find the folders above.