latex-packages/.ci/deploy_to_build_repo.sh

15 lines
366 B
Bash
Raw Normal View History

2022-01-30 21:36:18 +01:00
set -e
2023-10-19 02:21:13 +02:00
# set up deploy message
2022-01-30 21:40:13 +01:00
cd .ci
2021-10-24 10:35:53 +02:00
export COMMIT_MSG=$(python3 print_deploy_message.py)
2022-01-30 21:40:13 +01:00
cd ..
2023-10-19 02:21:13 +02:00
# push pages to build repository
cd build/packages
2021-10-24 10:35:53 +02:00
git add .
git commit -m "${COMMIT_MSG}" || echo "Nothing new to commit"
2023-10-18 16:21:37 +02:00
git remote set-url origin --push git@git.abstractnonsen.se:latex/latex-packages-build
2023-10-18 11:13:58 +02:00
git push --set-upstream origin ${REF_NAME}-build
2022-01-30 21:33:32 +01:00
cd ../..