Sync docs from Discourse #37
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright 2024 Canonical Ltd. | |
# See LICENSE file for licensing details. | |
name: Sync docs from Discourse | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: 20 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 |