Skip to content

Remove gh-pages deployment #57

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Oct 28, 2022
Merged

Remove gh-pages deployment #57

merged 3 commits into from
Oct 28, 2022

Conversation

JohnTitor
Copy link
Member

Seems branch renaming disables gh-pages deployment:

if: github.event_name == 'push' && github.event.ref == 'refs/heads/master'

This makes it work again with some tweaks.

Note

Someone that has admin access to the repo has to enable below on the repo settings:
image

Signed-off-by: Yuki Okushi <jtitor@2k36.org>
- Prefer to specify a tag
- Fix a step name on test

Signed-off-by: Yuki Okushi <jtitor@2k36.org>
@thomcc
Copy link
Member

thomcc commented Oct 24, 2022

Do we care about gh-pages deployment given that docs.rs exists now (I suspect that code predates docs.rs)? We could also remove it.

@JohnTitor
Copy link
Member Author

If we prefer to remove it instead, I'm happy to! I thought Alex deployed it intentionally and didn't want to break it :)

@thomcc
Copy link
Member

thomcc commented Oct 24, 2022

I think it's just old. Back in the day you had to do this to host your docs since docs.rs didn't exist.

It's not that bad if we have a reason for it, but I think I'd rather us remove it if there's no benefit (which seems to be the case).

Maybe we should wait a day or so and see if anybody weighs in about it.

@thomcc
Copy link
Member

thomcc commented Oct 24, 2022

I made a zulip discussion for it: https://rust-lang.zulipchat.com/#narrow/stream/351149-t-libs.2Fcrates/topic/cfg-if.20docs.20publishing

Signed-off-by: Yuki Okushi <jtitor@2k36.org>
@JohnTitor JohnTitor changed the title Fix gh-pages deployment Remove gh-pages deployment Oct 25, 2022
Copy link
Member

@thomcc thomcc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the consensus is that we don't need this, so removal looks great!

@JohnTitor JohnTitor merged commit b9c2246 into rust-lang:main Oct 28, 2022
@JohnTitor JohnTitor deleted the tweak-ci branch October 28, 2022 06:53
@github-actions github-actions bot mentioned this pull request Jun 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants