Skip to content

Sync docs from Discourse #44

Sync docs from Discourse

Sync docs from Discourse #44

Workflow file for this run

# 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/[email protected]
secrets:
discourse-api-user: ${{ secrets.DISCOURSE_API_USERNAME }}

Check failure on line 15 in .github/workflows/sync_docs.yaml

View workflow run for this annotation

GitHub Actions / Sync docs from Discourse

Invalid workflow file

The workflow is not valid. .github/workflows/sync_docs.yaml (Line: 15, Col: 27): Invalid secret, discourse-api-user is not defined in the referenced workflow. .github/workflows/sync_docs.yaml (Line: 16, Col: 26): Invalid secret, discourse-api-key is not defined in the referenced workflow.
discourse-api-key: ${{ secrets.DISCOURSE_API_KEY }}
permissions:
contents: write # Needed to push branch & tag
pull-requests: write # Needed to create PR