Skip to content

Commit

Permalink
Added documentation sync workflow (canonical#525)
Browse files Browse the repository at this point in the history
* Create sync_docs.yaml

* Deleting existing /docs folder to avoid conflicts with the action
  • Loading branch information
a-velasco authored Jul 4, 2024
1 parent 75c9398 commit 558e674
Show file tree
Hide file tree
Showing 21 changed files with 19 additions and 1,044 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/sync_docs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Copyright 2024 Canonical Ltd.
# See LICENSE file for licensing details.
name: Sync docs from Discourse

on:
workflow_dispatch:
schedule:
- cron: 00 01 * * *

jobs:
sync-docs:
name: Sync docs from Discourse
uses: canonical/data-platform-workflows/.github/workflows/_sync_docs.yaml@main
secrets:
discourse-api-user: ${{ secrets.DISCOURSE_API_USERNAME }}
discourse-api-key: ${{ secrets.DISCOURSE_API_KEY }}
permissions:
contents: write # Needed to push branch & tag
pull-requests: write # Needed to create PR
46 changes: 0 additions & 46 deletions docs/explanation/e-interfaces.md

This file was deleted.

31 changes: 0 additions & 31 deletions docs/how-to/h-configure-s3-aws.md

This file was deleted.

36 changes: 0 additions & 36 deletions docs/how-to/h-configure-s3-radosgw.md

This file was deleted.

14 changes: 0 additions & 14 deletions docs/how-to/h-create-and-list-backups.md

This file was deleted.

55 changes: 0 additions & 55 deletions docs/how-to/h-enable-encryption.md

This file was deleted.

106 changes: 0 additions & 106 deletions docs/how-to/h-enable-monitoring.md

This file was deleted.

54 changes: 0 additions & 54 deletions docs/how-to/h-manage-app.md

This file was deleted.

Loading

0 comments on commit 558e674

Please sign in to comment.