Newer
Older
update:
git pull
git submodule update
conf:
cp -r ./config/keys ./web
fromtemplate:
cat docker-compose.yml.template | envsubst > docker-compose.yml
docker-compose build --pull
docker push cr.unil.ch/icnml_web:${CI_COMMIT_SHORT_SHA}
docker push cr.unil.ch/icnml_redis:${CI_COMMIT_SHORT_SHA}
-cd web/app; git checkout master; git merge develop; git push --all;
-echo "App update" > .git.message
-echo "" >> .git.message
-git diff --submodule=log >> .git.message
-git commit -F .git.message
-rm .git.message
-git checkout develop
lib:
-git submodule update --recursive --remote web/library/
-echo "Lib update" > .git.message
-echo "" >> .git.message
-git diff --submodule=log web/library/ >> .git.message
-git add web/library/*
-git commit -F .git.message
-rm .git.message
-git push
-git checkout develop