latex-packages/.ci/deploy_to_build_repo.sh
Maximilian Keßler 823c5097ce
Some checks failed
Build LaTeX packages / build (push) Failing after 23s
adjust ci to new build style
2023-10-19 02:21:13 +02:00

14 lines
366 B
Bash
Executable file

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 ../..