added gitea user information for repository
Some checks failed
odoo-restore-open_workshop-install / run-odoo-backup-in-docker (push) Failing after 43s

This commit is contained in:
gitea 2025-04-11 15:14:40 +00:00
parent 64a7bb3b3b
commit 8681d8e6a3

View File

@ -10,7 +10,7 @@ env:
URL_BACKUP: https://odoo.lan.hobbyhimmel.de
URL_RESTORE: http://hobbybackend2.fritz.box:9013
REGISTRY: gitea.lan.hobbyhimmel.de
jobs:
run-odoo-backup-in-docker:
runs-on: ["hobbybackend2", "ubuntu-latest"] # Gibt an, dass der Job entweder auf 'hobbybackend1' und 'ubuntu-latest' läuft.
@ -107,6 +107,8 @@ jobs:
run: |
docker exec hobbyhimmel_odoo_${{ env.CONTAINER_NAME_EXTENSION }} /bin/bash -c "
git config --global pull.ff only && \
git config --global user.name 'gitea' && \
git config --global user.password '${{ secrets.BUILD_ACTION }}' && \
if [ ! -d /home/odoo/custom_addons/open_workshop ]; then
git clone https://gitea:${{ secrets.BUILD_ACTION }}@gitea.lan.hobbyhimmel.de/hobbyhimmel/open_workshop.git /home/odoo/custom_addons/open_workshop;
fi && \