Skip to content

Commit 558e674

Browse files
authored
Added documentation sync workflow (#525)
* Create sync_docs.yaml * Deleting existing /docs folder to avoid conflicts with the action
1 parent 75c9398 commit 558e674

21 files changed

+19
-1044
lines changed

.github/workflows/sync_docs.yaml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Copyright 2024 Canonical Ltd.
2+
# See LICENSE file for licensing details.
3+
name: Sync docs from Discourse
4+
5+
on:
6+
workflow_dispatch:
7+
schedule:
8+
- cron: 00 01 * * *
9+
10+
jobs:
11+
sync-docs:
12+
name: Sync docs from Discourse
13+
uses: canonical/data-platform-workflows/.github/workflows/_sync_docs.yaml@main
14+
secrets:
15+
discourse-api-user: ${{ secrets.DISCOURSE_API_USERNAME }}
16+
discourse-api-key: ${{ secrets.DISCOURSE_API_KEY }}
17+
permissions:
18+
contents: write # Needed to push branch & tag
19+
pull-requests: write # Needed to create PR

docs/explanation/e-interfaces.md

Lines changed: 0 additions & 46 deletions
This file was deleted.

docs/how-to/h-configure-s3-aws.md

Lines changed: 0 additions & 31 deletions
This file was deleted.

docs/how-to/h-configure-s3-radosgw.md

Lines changed: 0 additions & 36 deletions
This file was deleted.

docs/how-to/h-create-and-list-backups.md

Lines changed: 0 additions & 14 deletions
This file was deleted.

docs/how-to/h-enable-encryption.md

Lines changed: 0 additions & 55 deletions
This file was deleted.

docs/how-to/h-enable-monitoring.md

Lines changed: 0 additions & 106 deletions
This file was deleted.

docs/how-to/h-manage-app.md

Lines changed: 0 additions & 54 deletions
This file was deleted.

0 commit comments

Comments
 (0)