Skip to content
Snippets Groups Projects
Commit d258cbb3 authored by Sebastian Pongratz's avatar Sebastian Pongratz :ping_pong:
Browse files

Update .gitlab-ci.yml file

parent 92b65658
No related merge requests found
......@@ -30,6 +30,6 @@ deploy:
- apk add zip git
- git config --global user.email "administrator@adito.de" && git config --global user.name "Administrator"
- git clone -b $CI_COMMIT_BRANCH https://PushBot:5fTHKjZD4ACp-HjGUZ61@gitlab.adito.de/xrm/basic.git _buildtarget
- unzip build.zip -d build && mv build/dist ./buildtarget > /dev/null
- unzip build.zip -d build && mv build/dist ./buildtarget > /dev/null 2>&1
- cd _buildtarget && (mv -f .git .gitignore .gitattributes .gitlab-ci.yml jsconfig.json package.json package-lock.json ../buildtarget/ 2>/dev/null || true) && cd .. # preserve old files, so they won't get overridden
- cd buildtarget && git add . > /dev/null && (git commit -m "$ADITO_COMMIT_MESSAGE" --author="$CI_COMMIT_AUTHOR" && git push) || (echo "nothing to commit")
\ No newline at end of file
- cd buildtarget && git add . > /dev/null 2>&1 && (git commit -m "$ADITO_COMMIT_MESSAGE" --author="$CI_COMMIT_AUTHOR" && git push) || (echo "nothing to commit")
\ No newline at end of file
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment