FLAMEGPU / FLAMEGPU2-docs

FLAME GPU 2 User Guide and Documentation
https://docs.flamegpu.com
MIT License
2 stars 7 forks source link

CI: Start with a fresh gh-pages branch periodically #61

Closed ptheywood closed 1 year ago

ptheywood commented 3 years ago

The API docs generate a number of binary files which appear to change significantly between releases, adding bloat to the repository.

It might be worth tweaking the deploy CI to start from a fresh gh-pages branch and force pushing, to avoid the repository growing unneccesarily large.

Alternatively Adjusting the doxygen setup might be worthwhile.

ptheywood commented 1 year ago

Altenatively, gh pages can now be deployed to via github actions without pushing to a branch, completely avoiding the problem.

Requires changing the CI action to use https://github.com/actions/upload-pages-artifact and https://github.com/actions/deploy-pages. A repo setting also needs changing.

This is already in use for the wheelhouse repo: https://github.com/FLAMEGPU/FLAMEGPU2-wheelhouse/blob/main/.github/workflows/ci.yml.

Will be worth testing on a personal fork.