Skip to content

Commit

Permalink
Update sync_docs.yaml (#383)
Browse files Browse the repository at this point in the history
* Update sync_docs.yaml

Removed Discourse API keys as they are not necessary for this workflow.

* Update schedule to match shared workflow

---------

Co-authored-by: Dragomir Penev <[email protected]>
  • Loading branch information
a-velasco and dragomirp authored Aug 20, 2024
1 parent af7661b commit 78d557f
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/sync_docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,14 @@ name: Sync docs from Discourse
on:
workflow_dispatch:
schedule:
- cron: 20 01 * * *
- cron: '53 0 * * *' # Daily at 00:53 UTC

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 }}
discourse-api-key: ${{ secrets.DISCOURSE_API_KEY }}
with:
reviewers: a-velasco,izmalk
permissions:
contents: write # Needed to push branch & tag
pull-requests: write # Needed to create PR

0 comments on commit 78d557f

Please sign in to comment.