feat: deploy pages with CI#844
Open
Gara-Dorta wants to merge 1 commit into
Open
Conversation
Co-authored-by: Copilot <copilot@github.com>
Contributor
Author
|
FYI, I also tried to update the version dynamically using the current approach in master. I got it almost working here master...Gara-Dorta:signal-cli-rest-api:swagger-docs-version However, the link to the |
23 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR builds the docs on each release via a CI workflow. This has a few advantages over the current approach:
1.0. The approach in this PR modifies the version in the swagger.json so that it is updated also in the github pages.You will have to change the settings for this work. So in Settings -> Pages -> Build and deployment -> Source change it from
Deploy from branchtoGithub actions.When testing this github was a bit funny about it. You might need to manually unpublish and republish the page when doing the switch.
Here is the workflow running on my fork https://github.com/Gara-Dorta/signal-cli-rest-api/actions/runs/25430692982
Here is the generated page https://gara-dorta.github.io/signal-cli-rest-api/