Sync docs from Discourse #335
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: 40 00 * * * | ||
jobs: | ||
sync-docs: | ||
name: Sync docs from Discourse | ||
uses: canonical/data-platform-workflows/.github/workflows/_sync_docs.yaml@v21.0.0 | ||
Check failure on line 13 in .github/workflows/sync_docs.yaml GitHub Actions / .github/workflows/sync_docs.yamlInvalid workflow file
|
||
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 |