Sync docs from Discourse #3
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: 50 00 * * * | ||
jobs: | ||
sync-docs: | ||
name: Sync docs from Discourse | ||
uses: canonical/data-platform-workflows/.github/workflows/[email protected] | ||
Check failure on line 13 in .github/workflows/sync_docs.yaml GitHub Actions / Sync docs from DiscourseInvalid workflow file
|
||
secrets: | ||
discourse_api_username: ${{ 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 |