mirror of
https://github.com/infinition/Bjorn.git
synced 2026-02-05 03:31:02 +00:00
test2
This commit is contained in:
28
.github/workflows/wiki-sync.yml
vendored
Normal file
28
.github/workflows/wiki-sync.yml
vendored
Normal 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
|
||||
Reference in New Issue
Block a user