All checks were successful
Deploy bericht / deploy (push) Successful in 1s
Dolibarr-Modul für Arbeitsberichte aus Rechnungs-Anhängen mit Browser-PDF-Editor. - Reiter "Bericht" auf Rechnungen, Aufträgen und Angeboten - Anhänge-Browser inkl. verknüpfter Objekte (Auftrag → Rechnung) - PDF.js + Fabric.js Browser-Editor: Pfeile, Kreise, Rechtecke, Freihand, Text - SortableJS Seiten-Verwaltung mit Drag&Drop - ODT-Deckblatt mit Platzhaltern, Templates im Admin verwaltbar - TCPDF + FPDI Finalisierung mit eingebrannten Annotationen - ECM-Verknüpfung: PDF erscheint unter Verknüpfte Dokumente - Auftragsnummer aus existierendem Extrafield options_auftragsnummer - Mehrere Berichte pro Dokument - Beim Aktivieren werden vorhandene Extrafields nicht überschrieben Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
41 lines
1.1 KiB
YAML
41 lines
1.1 KiB
YAML
name: Deploy bericht
|
|
|
|
on:
|
|
push:
|
|
tags:
|
|
- 'v*'
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
deploy:
|
|
runs-on: docker
|
|
if: startsWith(github.ref, 'refs/tags/v') || contains(github.event.head_commit.message, '[deploy]')
|
|
steps:
|
|
- name: Checkout
|
|
run: |
|
|
git clone --depth 1 --branch "${GITHUB_REF_NAME}" \
|
|
"https://token:${{ secrets.GIT_TOKEN }}@git.data-it-solution.de/${GITHUB_REPOSITORY}.git" .
|
|
|
|
- name: Deploy nach Dolibarr
|
|
run: |
|
|
DEPLOY_PATH="/mnt/appdata/firma/dolibarr-202509/modules/bericht"
|
|
REF="${GITHUB_REF#refs/*/}"
|
|
|
|
echo "Deploye ${REF} nach ${DEPLOY_PATH} ..."
|
|
|
|
if [ -d "$DEPLOY_PATH" ]; then
|
|
find "$DEPLOY_PATH" -mindepth 1 -not -path '*/.git/*' -not -name '.git' -delete 2>/dev/null || true
|
|
else
|
|
mkdir -p "$DEPLOY_PATH"
|
|
fi
|
|
|
|
rsync -a \
|
|
--exclude='.git' \
|
|
--exclude='.forgejo' \
|
|
--exclude='.gitignore' \
|
|
--exclude='CLAUDE.md' \
|
|
--exclude='test/' \
|
|
./ "$DEPLOY_PATH/"
|
|
|
|
echo "Deployment erfolgreich: ${REF} -> ${DEPLOY_PATH}"
|