Push all currently tracked data files to GitHub. Only files identical to those already on GitHub (by md5sum hash) will not be transferred. Otherwise, assumes local version should overwrite existing GitHub version. Create a new release if you do not want to overwrite previous GitHub versions when pushing.
pb_push(repo = guess_repo(), tag = "latest", overwrite = TRUE, manifest = ".manifest.json")
repo | Name of the repo on GitHub ( |
---|---|
tag | name of release/tag on GitHub to which data assets will be attached. Default is to use the latest available release. |
overwrite | should existing files be overwritten when hashes do
not match? default |
manifest | name of the local manifest file. Note: A leading dot (i.e. indicating a hidden file) in the manifest name will be removed from the name used on the GitHub asset list. |
Will only upload tracked files, as identified by the local
manifest. Add files to tracking with pb_track
first.
# NOT RUN { pb_push() # }