From f628419c0ce20afe7988d8b7e3e910f95416b456 Mon Sep 17 00:00:00 2001 From: Alicia Sykes Date: Sat, 31 Jul 2021 20:28:06 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7=20Adds=20cron=20job=20to=20sync=20?= =?UTF-8?q?docs=20with=20wiki?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/wiki-sync.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/wiki-sync.yml 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: 'liss-bot@d0h.co' + commit_message: '📕 Chore: Sync Wiki'