2021-08-04 23:23:04 +03:00
|
|
|
# Uses the contents of the ./docs directory for Dashy's GH Wiki page
|
2021-07-31 22:28:06 +03: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-19 22:11:01 +03:00
|
|
|
uses: joeizzard/action-wiki-sync@master
|
2021-07-31 22:28:06 +03:00
|
|
|
with:
|
2021-08-19 22:11:01 +03:00
|
|
|
username: example
|
|
|
|
access_token: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
wiki_folder: ./docs
|
|
|
|
commit_username: 'liss-bot'
|
|
|
|
commit_email: 'liss-bot@d0h.co'
|
|
|
|
commit_message: '📕 Chore: Sync Wiki'
|