mirror of https://github.com/Lissy93/dashy.git
👷 Adds cron job to sync docs with wiki
This commit is contained in:
parent
f2007aa3a5
commit
f628419c0c
|
@ -0,0 +1,19 @@
|
||||||
|
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
|
||||||
|
uses: joeizzard/action-wiki-sync@master
|
||||||
|
with:
|
||||||
|
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'
|
Loading…
Reference in New Issue