Closed JohnTitor closed 2 years ago
r? @rust-lang/infra
Hm, did we repurpose a repo or something? Where did the Travis file come from - is there a template that needs adjusting?
@Mark-Simulacrum This repo got renamed wg-traits->types-team
Hm, did we repurpose a repo or something? Where did the Travis file come from - is there a template that needs adjusting?
Looking at https://github.com/rust-lang/types-team/commit/2c992aecfed391e416e402e97bb6a4d04dbfee30, the reason would be "we weren't ready to use GHA (or GHA didn't exist) yet".
Note that I don't use the scripts on simpleinfra to deploy the gh-pages, as it's outdated and not recommended to use (I remember Pietro said it before, but cannot find the comment on GitHub...)
Can we update those scripts to use the code you have here so people can start using them again? That way we don't have to copy-paste these into each repo.
Can we update those scripts to use the code you have here so people can start using them again? That way we don't have to copy-paste these into each repo.
IIRC the reason that it's not recommended is that action is based on Docker (@pietroalbini Am I correct?): https://github.com/rust-lang/simpleinfra/blob/master/github-actions/static-websites/Dockerfile It's generally slower than JavaScript's (or other forms of actions) so it isn't straightforward, I guess.
Yeah, the existing Docker action is painfully slow. We should figure out a better solution, but in the meantime the code looks correct!
Could anyone merge this?
On the rust-lang org, we've deprecated the use of Travis CI and migrated to GHA, this PR does it for this repo. Tested the gh-pages works fine on my fork: https://johntitor.github.io/types-team/ Note that I don't use the scripts on simpleinfra to deploy the gh-pages, as it's outdated and not recommended to use (I remember Pietro said it before, but cannot find the comment on GitHub...)