deploy
This commit is contained in:
parent
5949aacc2f
commit
937a9e4ec0
2 changed files with 5 additions and 7 deletions
|
@ -3,6 +3,9 @@ export COMMIT_MSG=$(python3 print_deploy_message.py)
|
|||
cd ..
|
||||
make ci-build
|
||||
cd build
|
||||
zip -r LatexPackages.zip LatexPackagesBuild
|
||||
zip -r LatexPackages.zip LatexPackagesBuild -x LatexPackagesBuild.git
|
||||
tree -H '.' -I "index.html" -D --charset utf-8 -T "LatexPackages" > index.html
|
||||
cd ..
|
||||
cd LatexPackagesBuild
|
||||
git add .
|
||||
git commit -m ${COMMIT_MSG} || echo "Nothing new to commit"
|
||||
git push
|
||||
|
|
|
@ -48,12 +48,7 @@ build-packages: # This job runs in the deploy stage.
|
|||
- git config --global user.name "Maximilian Keßler (via gitlab runner)"
|
||||
script:
|
||||
- echo "Building packages incrementally..."
|
||||
- test -d PyTeX/build
|
||||
- .ci/ci_build.sh
|
||||
- cd build/LatexPackagesBuild
|
||||
- echo "$PWD"
|
||||
- git add .
|
||||
- git commit -m "${COMMIT_MESSAGE}" || echo "Nothing to commit, working dir clean"
|
||||
variables:
|
||||
GIT_SUBMODULE_STRATEGY: recursive
|
||||
artifacts:
|
||||
|
|
Loading…
Add table
Reference in a new issue