Skip to content

[docs] update docs_release.yaml to use update-only-version #15164

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 1 commit into from
Feb 28, 2025

Conversation

blinkov
Copy link
Member

@blinkov blinkov commented Feb 28, 2025

Changelog entry

...

Changelog category

  • Not for changelog (changelog entry is not required)

Description for reviewers

Allows to manually control which branch is the default in our documentation (main for now).

Copy link

github-actions bot commented Feb 28, 2025

🟢 2025-02-28 08:05:33 UTC The validation of the Pull Request description is successful.

Copy link

github-actions bot commented Feb 28, 2025

2025-02-28 06:30:34 UTC Pre-commit check linux-x86_64-release-asan for 6f0e030 has started.
2025-02-28 06:30:48 UTC Artifacts will be uploaded here
2025-02-28 06:33:05 UTC ya make is running...
🟢 2025-02-28 06:33:11 UTC Tests successful.

Test history | Ya make output | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
0 0 0 0 0 0

🟢 2025-02-28 06:33:16 UTC Build successful.

Copy link

github-actions bot commented Feb 28, 2025

2025-02-28 06:30:39 UTC Pre-commit check linux-x86_64-relwithdebinfo for 6f0e030 has started.
2025-02-28 06:31:04 UTC Artifacts will be uploaded here
2025-02-28 06:34:01 UTC ya make is running...
🟢 2025-02-28 06:34:06 UTC Tests successful.

Test history | Ya make output | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
0 0 0 0 0 0

🟢 2025-02-28 06:34:12 UTC Build successful.

@blinkov blinkov enabled auto-merge (squash) February 28, 2025 06:36
- name: Set update-only-version
id: set-update-only-version
run: |
if [[ "${GITHUB_REF##*/}" == "main" ]]; then
Copy link
Collaborator

Choose a reason for hiding this comment

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

А зачем это нужно все таки?

Copy link
Member Author

Choose a reason for hiding this comment

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

Как выяснилось, в diplodoc по умолчанию логика такая, что релиз контента из любого бранча делает этот бранч дефолтным в выпадайке выбора версий в правом-верхнем углу доки. Мы же хотим управлять какой бранч показывается дефолтным вручную (пока main).

@blinkov blinkov merged commit dc95e8e into main Feb 28, 2025
17 checks passed
blinkov added a commit that referenced this pull request Feb 28, 2025
blinkov added a commit that referenced this pull request Feb 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants