Scripts for generating a personal video-streaming site from DASH-format videos
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
512 B

.PHONY: videos html sync
default: videos html ;
grunt --input=/mnt/dekutree/Videos
find _html -mindepth 1 -type d -exec rm -rf {} +
rsync -av _build/ _html
./cdn-links _html
cd _html && git add --all && git commit -m 'Automatic publish to GitHub (Makefile)' && git push
s3cmd sync --progress --no-preserve --acl-public --delete-removed --delete-after --exclude='*.json' --guess-mime-type /mnt/dekutree/Videos/ s3://media-thepences-org/videos/