From 2dbead687053610147161ecda1a908070720731f Mon Sep 17 00:00:00 2001 From: Vhyrro Date: Fri, 3 Feb 2023 12:25:19 +0100 Subject: [PATCH] fix(docgen): incorrect wiki paths --- .github/workflows/gendoc.yml | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/.github/workflows/gendoc.yml b/.github/workflows/gendoc.yml index 0c8ba8d64..b59e00e87 100644 --- a/.github/workflows/gendoc.yml +++ b/.github/workflows/gendoc.yml @@ -41,26 +41,19 @@ jobs: with: path: neorg - - name: Run Documentation Generator - run: | - make ci-doc - - name: Clone Wiki uses: actions/checkout@v2 with: repository: "nvim-neorg/neorg.wiki" - path: neorg-wiki + path: wiki/ - - name: Copy Wiki Files + - name: Run Documentation Generator run: | - ls ../neorg/wiki ./neorg-wiki - # rm ./neorg-wiki/*.md - cp ../neorg/wiki/**.md ./neorg-wiki - ls ../neorg/wiki ./neorg-wiki + make ci-doc - name: Commit Wiki Changes run: | - cd neorg-wiki + cd wiki/ git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com" git config --local user.name "github-actions[bot]" if [[ ! -z $(git status -s) ]]; then @@ -75,4 +68,4 @@ jobs: repository: "nvim-neorg/neorg.wiki" branch: master force: true - directory: ./neorg-wiki + directory: ./wiki