Hey @Pietro Albini -- for some time now, chalk has been getting Travis errors like these when trying to publish rustdocs:
Initialized empty Git repository in /tmp/d20191105-4398-1xa4oio/work/.git/ Switched to a new branch 'gh-pages' cd - cd /tmp/d20191105-4398-1xa4oio/work rsync: change_dir "/home/travis/build/rust-lang/chalk/target/doc" failed: No such file or directory (2) rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1183) [sender=3.1.1] Could not copy /home/travis/build/rust-lang/chalk/target/doc.
The relevant part of travis.yml is:
deploy: - provider: pages local-dir: ./target/doc skip-cleanup: true github-token: $GITHUB_TOKEN on: branch: master
Any idea what's going on? Also, I know that GITHUB_TOKEN is not the preferred way to do things these days, I think it's easy for you to upgrade it?
(Soon, I'd also like to add a mdbook setup there, but I guess that's neither here nor there...)
I'll take a look once I get home from university
Thanks, I tried some google searching but I couldn't find anything wrong :shrug:
anything against me switching it to github actions in the meantime?
I should also figure out how to get high-five to auto-assign PRs for reviews...
@Pietro Albini were you ever able to take a look at this?
no, I'll take a look on monday
ok this should work https://github.com/rust-lang/chalk/pull/288
Thanks @Pietro Albini !
It seems like forks are also triggering CI builds? https://github.com/detrumi/chalk/runs/310030276
@detrumi yep, I think that's how actions work, they are shared between the forks. you can disable all actions on your fork though