Skip to content

Sync docs from Discourse #16

Sync docs from Discourse

Sync docs from Discourse #16

Workflow file for this run

name: Sync docs from Discourse
on:
workflow_dispatch:
schedule:
- cron: '53 0 * * *' # Daily at 00:53 UTC
# Triggered on push to branch "main" by .github/workflows/release.yaml
workflow_call:
jobs:
sync-docs:
name: Open PR with docs changes
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Open PR with docs changes
uses: deusebio/discourse-gatekeeper@main
id: docs-pr
with:
discourse_host: discourse.charmhub.io
discourse_api_username: ${{ secrets.DISCOURSE_API_USERNAME }}
discourse_api_key: ${{ secrets.DISCOURSE_API_KEY }}
github_token: ${{ secrets.GITHUB_TOKEN }}
dry_run: "true"
- name: Show migrate output
run: echo '${{ steps.docs-pr.outputs.migrate }}'
- name: Show reconcile output
run: echo '${{ steps.docs-pr.outputs.reconcile }}'