mirror of
https://github.com/Alex38Lyon/Synthese-PSM_LARRA.git
synced 2026-11-30 04:08:35 +00:00
Compare commits
3
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7549547a64 | ||
|
|
3595ca6765 | ||
|
|
675321b7fb |
No files matched your search
@@ -17,7 +17,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Envoyer le webhook à n8n
|
- name: Envoyer le webhook à n8n
|
||||||
env:
|
env:
|
||||||
WEBHOOK_URL: https://flows.arsip.fr/webhook-test/mergin-sync-event
|
WEBHOOK_URL: https://flows.arsip.fr/webhook/mergin-sync-event
|
||||||
REPOSITORY: ${{ github.repository }}
|
REPOSITORY: ${{ github.repository }}
|
||||||
BRANCH: ${{ github.ref_name }}
|
BRANCH: ${{ github.ref_name }}
|
||||||
COMMIT: ${{ github.sha }}
|
COMMIT: ${{ github.sha }}
|
||||||
|
|||||||
@@ -232,10 +232,11 @@ def telecharger_depuis_github(depot: str, branche: str, chemin: str, dossier_cib
|
|||||||
|
|
||||||
if barre:
|
if barre:
|
||||||
barre(len(morceau))
|
barre(len(morceau))
|
||||||
else:
|
|
||||||
logger.debug(
|
# else:
|
||||||
"GitHub : %s — %.1f %% (%s / %s octets)", fichier["path"], precedent * 100 / total if total else 0, precedent, total or "?"
|
# logger.debug(
|
||||||
)
|
# "GitHub : %s — %.1f %% (%s / %s octets)", fichier["path"], precedent * 100 / total if total else 0, precedent, total or "?"
|
||||||
|
# )
|
||||||
|
|
||||||
if interactif:
|
if interactif:
|
||||||
with alive_bar(total, title=f"{Colors.YELLOW}Téléchargement GitHub{Colors.ENDC}", stats=True, scale="SI", unit="o") as barre:
|
with alive_bar(total, title=f"{Colors.YELLOW}Téléchargement GitHub{Colors.ENDC}", stats=True, scale="SI", unit="o") as barre:
|
||||||
|
|||||||
Reference in new issue
Block a user