Skip to content

Commit

Permalink
Create sync_docs.yaml (#277)
Browse files Browse the repository at this point in the history
  • Loading branch information
a-velasco authored Jul 4, 2024
1 parent 917780d commit 8b9598a
Showing 1 changed file with 19 additions and 0 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: 30 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

0 comments on commit 8b9598a

Please sign in to comment.