Skip to content
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

Upload docs to releases.slint.dev in www-releases GH repo #4995

Merged
merged 4 commits into from
Apr 3, 2024

Conversation

aurindam
Copy link
Member

@aurindam aurindam commented Apr 2, 2024

No description provided.

@aurindam aurindam requested review from tronical and ogoffart April 2, 2024 12:23
sed -i "s!https://slint.dev/releases/.*/docs/!../../!" $output_path/docs/rust/slint/*.html
sed -i "s!https://releases.slint.dev/.*/docs/!../../!" $output_path/docs/rust/slint/*.html
Copy link
Member

Choose a reason for hiding this comment

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

The link are still using slint.dev in the docs, so either leave it as it was before, or repleace all other occurrences in the repo

cd www

if [[ "${{ github.event.inputs.release }}" == "true" ]]; then
output_path="releases/${{ steps.version.outputs.VERSION }}"
output_path="${{ steps.version.outputs.VERSION }}"
else
output_path="snapshots/${GITHUB_REF##*/}"
Copy link
Member

Choose a reason for hiding this comment

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

note that this will now create the snapshots in the www-release repo. Is that intentional?

@aurindam aurindam merged commit 6e5de77 into master Apr 3, 2024
1 of 33 checks passed
@aurindam aurindam deleted the auri-publish-to-releases.slint.dev branch April 3, 2024 09:48
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