From b67043ac89d7d13fb96528cdeb2a736c3afafb36 Mon Sep 17 00:00:00 2001 From: Jason Nagin <33561705+JasonN3@users.noreply.github.com> Date: Tue, 9 Jul 2024 09:41:38 -0400 Subject: [PATCH] checkout main repo --- .github/workflows/update_wiki.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/update_wiki.yml b/.github/workflows/update_wiki.yml index f38f86b..7e2339a 100644 --- a/.github/workflows/update_wiki.yml +++ b/.github/workflows/update_wiki.yml @@ -12,18 +12,23 @@ jobs: permissions: contents: write steps: - - name: Install rsync - run: | - sudo apt install -y rsync + # Checkout Main Repo + - uses: actions/checkout@v2 + + # Checkout Wiki Repo - uses: actions/checkout@v2 with: repository: ${{github.repository}}.wiki persist-credentials: true path: wiki ref: master + + # Copy Docs - name: Copy files run: | rsync -av --exclude='.git/*' ${GITHUB_WORKSPACE}/docs/ ${GITHUB_WORKSPACE}/wiki/ + + # Push Changes - name: Push changes run: | cd ${GITHUB_WORKSPACE/wiki/