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

Improve CI/CD for documentation website #390

Merged
merged 7 commits into from
Nov 5, 2024

Conversation

naskio
Copy link
Member

@naskio naskio commented Nov 4, 2024

This PR optimizes the CI/CD workflow for the documentation website:

  • Skips deployment steps if GitHub Pages is disabled or the branch is not the default
  • Uses yarn consistently instead of detecting the package manager
  • Updates to the latest Node LTS version
  • Adds a more realistic fallback tag for deployment versioning
  • Constrains only the deploy job concurrency
  • Triggers the workflow only on changes to the docs/ folder (on push or on pull_request)
  • Dynamically set url and baseUrl to allow deploying in forks (for example: https://naskio.github.io/consuldotnet/)

@naskio naskio marked this pull request as ready for review November 4, 2024 20:08
@marcin-krystianc marcin-krystianc merged commit 1964379 into G-Research:master Nov 5, 2024
244 checks passed
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