Skip to content

armgit / dashy

Public Imported from GitHub
0

πŸš€ A self-hostable personal dashboard built for you. Includes status-checking, widgets, themes, icon packs, a UI editor and tons more!

πŸ‘· Adds cron job to sync docs with wiki

Alicia Sykesf628419c0ce2
diff --git a/.github/workflows/wiki-sync.yml b/.github/workflows/wiki-sync.yml
new file mode 100644
index 00000000..4a0978df
--- /dev/null
+++ b/.github/workflows/wiki-sync.yml
@@ -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: '[email protected]'
+ commit_message: 'πŸ“• Chore: Sync Wiki'