forked from canonical/postgresql-operator
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added documentation sync workflow (canonical#525)
* Create sync_docs.yaml * Deleting existing /docs folder to avoid conflicts with the action
- Loading branch information
Showing
21 changed files
with
19 additions
and
1,044 deletions.
There are no files selected for viewing
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
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: 00 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 |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.