Closed denar90 closed 5 years ago
So I made pushing stuff in travis-runner.sh
kinda same as ship.sh
and now error say smth we can think about https://travis-ci.org/marionettejs/marionettejs.com/builds/230931875#L1268
remote: Invalid username or password.
fatal: Authentication failed for 'https://[secure]@github.com/marionettejs/marionettejs.com.git/'
Fixed the deploy by redoing the gh_token, but now it won't compile the docs
I suppose it's because of https://github.com/marionettejs/marionettejs.com/commit/1bb5e1754e87f5c2f4aff4b4625d079ec99061f0#diff-354f30a63fb0907d4ad57269548329e3L15 we should either bring back yarn or add npm i
yarn
was being called twice as travis will install it or call it automatically.
Pretty sure the travis script's GH_TOKEN was getting overwritten by:
Setting environment variables from .travis.yml
$ export GIT_NAME=[secure]
$ export GIT_EMAIL=[secure]
$ export GH_TOKEN=[secure]
When I renamed the one in travis to GITHUB_TOKEN
the script started working, but the docs wouldn't compile
I re-added GH_TOKEN
a duplicate of GITHUB_TOKEN
to travis, but no change..
All I'm getting now is:
Running "gitty:checkoutTag:marionette" (gitty:checkoutTag) task
>> Tag Checked out! -- undefined
I definitely think this issue is related to the GH info being added in this env var: https://github.com/marionettejs/marionettejs.com/blob/master/.travis.yml#L6 in addition to being set in travis itself.
Note I also put back yarn
getting called and installed twice.
But I did get a local deploy to finally work correctly.
I've been told that gh retrieved tokens after some security leak or smth. But I dunno why token generated by me won't work...
So, can we close this one?
Out of all of the things currently broken on the website, this is not one :-)
I dunno why but build for deploying stuff is broken - https://travis-ci.org/marionettejs/marionettejs.com/builds/220112384
Everything built fine until script wanna init git, add files and push all stuff to gh-pages.
Last time I did deploy manually using
ship.sh
script.