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

Orphan gh-pages branch on docs build #38

Merged
merged 1 commit into from
Sep 22, 2022

Conversation

GeopJr
Copy link
Contributor

@GeopJr GeopJr commented Sep 16, 2022

This PR enables the force_orphan option on the gh-pages action. It will clear commit history on push (see: https://github.com/geopjr-forks/gtk4.cr/tree/gh-pages)

I also removed the destination_dir: ./docs as there's no reason to have an old copy of the repo there. (You might have to change this setting to / if it's /docs):
gh pages settings page with the following text: Branch Your GitHub Pages site is currently being built from the gh-pages branch. Learn more. Learn how to add a Jekyll theme to your site. the Directory dropdown is open and the cursor is hovering the / root option. Below it there is the /docs option.

Results:

before: Receiving objects: 100% (46671/46671), 89.76 MiB | 794.00 KiB/s, done.
after: Receiving objects: 100% (2942/2942), 4.97 MiB | 578.00 KiB/s, done.

fixes: #37 (?)

@hugopl hugopl merged commit 854ed8e into hugopl:master Sep 22, 2022
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.

Git repo size very big (gh_pages branch?)
2 participants