Skip to content
This repository was archived by the owner on Mar 7, 2021. It is now read-only.
This repository was archived by the owner on Mar 7, 2021. It is now read-only.

replicate SF bay hub website #13

@skyfaller

Description

@skyfaller

It appears that we want to clone only the gh-pages branch which should only contain the public files as produced by Hugo. A command like
git clone -b gh-pages --single-branch https://github.com/sunrise-bay-area/sunrise-bay-area.git
might do the desired shallow clone.

Version parameter should give us a clone of the correct branch using the Ansible git module, and the depth parameter trims history (to save transfer/space) and also apparently "When you use the –depth flag with clone command, Git assumes the –single-branch flag by default," so using depth should also give us only a single branch's history.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions