This commit is contained in:
Fabien POLLY
2026-01-24 17:07:21 +01:00
parent 39e1169016
commit e7168f6d1d
2 changed files with 279 additions and 0 deletions

28
.github/workflows/wiki-sync.yml vendored Normal file
View File

@@ -0,0 +1,28 @@
name: Wiki Sync
on:
# 1. Déclenchement manuel quand tu pushes sur ce repo
push:
branches: [ main ]
paths:
- 'wiki/**'
- 'acidwiki.json'
- '.github/workflows/wiki-sync.yml'
# 2. Bouton manuel dans l'interface Actions
workflow_dispatch:
# 3. AUTOMATIQUE : Tous les jours à 4h00 du matin (UTC)
schedule:
- cron: '0 4 * * *'
permissions:
contents: write
pages: write
id-token: write
jobs:
deploy-wiki:
# Appelle le script stocké sur AcidWiki
# "@main" signifie qu'il prendra TOUJOURS la dernière version du workflow maître
uses: infinition/AcidWiki/.github/workflows/reusable-wiki-sync.yml@main