StanfordSpezi / SpeziKt

Kotlin & Android Version of the Stanford Spezi Framework
http://spezi.health/SpeziKt/
MIT License
7 stars 1 forks source link

Restrict Dokka Documentation Build to Main Branch Only #7

Closed Basler182 closed 1 month ago

Basler182 commented 1 month ago

Problem

Currently, the Dokka Documentation Build is triggered already on pull_requests to main branch, which consumes unnecessary CI/CD resources and potentially slows down the development process by queuing up builds that aren't immediately necessary. In addition, the documentation should always contain the main branch and not the documentation of branches for which there is only one PR

Solution

Configure the CI/CD pipeline to only trigger the Dokka Documentation Build when changes are pushed to the main branch.

Additional context

No response

Code of Conduct

eldcn commented 1 month ago

I already fixed this as part of #18 PR. Closing as it is already the case (see main.yml)