24 lines
675 B
Makefile
24 lines
675 B
Makefile
include passwords
|
|
|
|
|
|
.PHONY: updateSubmodules
|
|
updateSubmodules: checkoutSubmodulesDefaultBranches
|
|
git submodule foreach git pull
|
|
|
|
.PHONY:
|
|
checkoutSubmodulesDefaultBranches:
|
|
git -C lite-youtube-embed checkout master
|
|
git -C materialize checkout main
|
|
git -C parsedown checkout master
|
|
git -C spyc checkout master
|
|
git -C zopfli checkout master
|
|
|
|
.PHONY: buildMaterialize
|
|
buildMaterialize: updateSubmodules
|
|
./buildMaterialize.sh
|
|
|
|
.PHONY: deployMaterialize
|
|
deployMaterialize: buildMaterialize
|
|
# @todo correctly check the cert
|
|
lftp -e "set ftp:ssl-allow no; mirror -R 'materialize/dist' 'www/ressourcen/materializeCss'; bye;" -u cwsvjudo,$(ftpPassword) cwsvjudo.bplaced.net
|