Stream: wg-async-foundations/book

Topic: deployment to gh-pages


Taylor Cramer (Jun 14 2019 at 17:29, on Zulip):

huh, it looks like the deployment is failing: https://travis-ci.com/rust-lang/async-book/builds/115620289

Taylor Cramer (Jun 14 2019 at 17:30, on Zulip):

the error isn't exactly brilliantly clear ("Couldn't push the build")

Taylor Cramer (Jun 14 2019 at 18:04, on Zulip):

@Pietro Albini any chance you know what might be going on? has something about the $GITHUB_TOKEN keys lately?

Pietro Albini (Jun 14 2019 at 18:08, on Zulip):

not that I know of

Pietro Albini (Jun 14 2019 at 18:12, on Zulip):

@Taylor Cramer would you mind if I switch the repo to use deploy keys?

nikomatsakis (Jun 14 2019 at 18:22, on Zulip):

@Pietro Albini do it :)

nikomatsakis (Jun 14 2019 at 18:22, on Zulip):

although I've never gotten the dang things to work

Pietro Albini (Jun 14 2019 at 18:26, on Zulip):

ok pushed a commit to use deploy keys

Pietro Albini (Jun 14 2019 at 18:26, on Zulip):

@nikomatsakis as infra we built some nice tooling around deploy keys ;)

Pietro Albini (Jun 14 2019 at 18:27, on Zulip):

https://github.com/rust-lang/infra-team/blob/static-websites/guidelines/static-websites.md#deploying-the-website

Taylor Cramer (Jun 14 2019 at 18:28, on Zulip):

@Pietro Albini thanks so much!

Pietro Albini (Jun 14 2019 at 18:29, on Zulip):

you might also want to cache: cargo to speed up the builds

Pietro Albini (Jun 14 2019 at 19:15, on Zulip):

:tada: it works!

nikomatsakis (Jun 14 2019 at 22:16, on Zulip):

@Pietro Albini re: tooling, good to know

Pietro Albini (Jun 14 2019 at 22:17, on Zulip):

@nikomatsakis beware the instructions only work on the rust-lang and rust-lang-nursery orgs though: they use importable configs which is a closed beta travis feature

Last update: Nov 15 2019 at 10:40UTC