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