Skip to content

Commit

Permalink
standardized doc syncing
Browse files Browse the repository at this point in the history
  • Loading branch information
paulomach committed Nov 10, 2023
1 parent f905392 commit 37b9c96
Showing 1 changed file with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,21 @@ on:
workflow_dispatch:
schedule:
- cron: '53 0 * * *' # Daily at 00:53 UTC
push:
branches:
- main

jobs:

sync-docs:
name: Open PR with docs changes
runs-on: ubuntu-latest
permissions:
contents: write # Needed to login to Discourse
pull-requests: write # Need to create PR
steps:
- uses: actions/checkout@v3
- name: Open PR with docs changes
uses: canonical/upload-charm-docs@main
uses: deusebio/discourse-gatekeeper@c8adb89ea1cbceca54d78da798658373615487ac
id: docs-pr
with:
discourse_host: discourse.charmhub.io
Expand All @@ -26,4 +31,3 @@ jobs:
run: echo '${{ steps.docs-pr.outputs.migrate }}'
- name: Show reconcile output
run: echo '${{ steps.docs-pr.outputs.reconcile }}'

0 comments on commit 37b9c96

Please sign in to comment.