Shell script for updating websites through a cron job
Go to file
yequari 650a8b373e fix copying logic 2023-09-24 12:30:43 -07:00
test add functions 2023-09-24 11:48:28 -07:00
.gitmodules add functions 2023-09-24 11:48:28 -07:00
README.md add README 2023-08-17 10:55:17 -07:00
site-update.sh fix copying logic 2023-09-24 12:30:43 -07:00

README.md

Site Auto Updater

A shell script that polls git repositories for updates then copies the files to a specified location

Usage: ./site-update.sh [-b BRANCH|d SRCDIR|f FILE|h|p] OUTDIR
Options
b BRANCH    git branch to update, defaults to the current branch in SRCDIR
d SRCDIR    directory containing git repository to update, defaults to current working directory
f FILE      update a batch of repositories, as defined in FILE
h           print this help message
p           publish files only, do not update