2021-08-04 22:23:04 +02:00
|
|
|
# Uses the contents of the ./docs directory for Dashy's GH Wiki page
|
2021-07-31 21:28:06 +02:00
|
|
|
name: Wiki Sync
|
|
|
|
on:
|
|
|
|
workflow_dispatch: # Manual dispatch
|
|
|
|
schedule:
|
|
|
|
- cron: '0 1 * * 0' # At 01:00 on Sunday.
|
|
|
|
jobs:
|
|
|
|
update-wiki:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@master
|
|
|
|
- name: Sync Wiki
|
2021-08-04 22:23:04 +02:00
|
|
|
uses: cmbrose/github-docs-to-wiki@v0.24
|
2021-07-31 21:28:06 +02:00
|
|
|
with:
|
2021-08-04 22:23:04 +02:00
|
|
|
githubToken: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
defaultBranch: master
|
|
|
|
rootDocsFolder: ./docs
|
|
|
|
convertRootReadmeToHomePage: true
|
|
|
|
useHeaderForWikiName: true
|
|
|
|
customCommitMessageFormat: ':gem: Chore: Sync Docs to GH Wiki'
|