set -e # set up deploy message cd .ci export COMMIT_MSG=$(python3 print_deploy_message.py) cd .. # push pages to build repository cd build/packages git add . git commit -m "${COMMIT_MSG}" || echo "Nothing new to commit" git remote set-url origin --push git@git.abstractnonsen.se:latex/latex-packages-build git push --set-upstream origin ${REF_NAME}-build cd ../..