Skip to content
This repository was archived by the owner on Oct 5, 2018. It is now read-only.
This repository was archived by the owner on Oct 5, 2018. It is now read-only.

Only clone GitHub Pages repo if not already cloned #189

@mojavelinux

Description

@mojavelinux

For some sites, the GitHub Pages repository is large and takes considerable time to clone (on top of the time it takes to first delete it from disk). Currently, the prepareGhPages task removes the existing folder, then clones the repository anew each time. It would save a lot of time if this plugin only cloned the repository if not already cloned.

Ideally, the prepareGhPages task would check to see if the workingDir already exists and is a git repository. If both of those are true, the task would merely fetch updates.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions