From 78e00951845ae0c450cfbdb174a97f8076cf1ed7 Mon Sep 17 00:00:00 2001 From: James Dow Date: Fri, 30 Apr 2021 16:39:41 -0500 Subject: [PATCH 01/12] updated wiki-helper --- .github/workflows/wiki-watch.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/wiki-watch.yml b/.github/workflows/wiki-watch.yml index 2fdc65e..d409d96 100644 --- a/.github/workflows/wiki-watch.yml +++ b/.github/workflows/wiki-watch.yml @@ -10,7 +10,7 @@ jobs: - uses: actions/checkout@v2 with: repository: photodow/wiki-helpers.wiki - - uses: photodow/wiki-helpers@v1.4 + - uses: photodow/wiki-helpers@v1.5 with: rootPath: ./ buildPath: ./ From 96300b0fb7671f0533803aa793abe01337043d9a Mon Sep 17 00:00:00 2001 From: James Dow Date: Fri, 30 Apr 2021 17:21:19 -0500 Subject: [PATCH 02/12] testing repo to wiki --- .github/workflows/repo-to-wiki.yml | 20 ++++++++++++++++++++ .github/workflows/wiki-watch.yml | 20 -------------------- 2 files changed, 20 insertions(+), 20 deletions(-) create mode 100644 .github/workflows/repo-to-wiki.yml delete mode 100644 .github/workflows/wiki-watch.yml diff --git a/.github/workflows/repo-to-wiki.yml b/.github/workflows/repo-to-wiki.yml new file mode 100644 index 0000000..c5ffbc0 --- /dev/null +++ b/.github/workflows/repo-to-wiki.yml @@ -0,0 +1,20 @@ +name: Repo to wiki +on: + push: + branches: + - main + +jobs: + update: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: photodow/wiki-helpers@v1.5 + with: + rootPath: samples + - name: Upload Documentation to Wiki + uses: SwiftDocOrg/github-wiki-publish-action@v1 + with: + path: "build" + env: + GH_PERSONAL_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/wiki-watch.yml b/.github/workflows/wiki-watch.yml deleted file mode 100644 index d409d96..0000000 --- a/.github/workflows/wiki-watch.yml +++ /dev/null @@ -1,20 +0,0 @@ -name: Wiki Watch - Overwrite -on: - gollum: - workflow_dispatch: - -jobs: - update: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - with: - repository: photodow/wiki-helpers.wiki - - uses: photodow/wiki-helpers@v1.5 - with: - rootPath: ./ - buildPath: ./ - - name: Commit changes - uses: stefanzweifel/git-auto-commit-action@v4 - with: - commit_message: Github Actions - Wiki helpers From b6f1b3f1017201ccf0c2dbbb47f565899fb56aa2 Mon Sep 17 00:00:00 2001 From: James Dow Date: Fri, 30 Apr 2021 17:22:10 -0500 Subject: [PATCH 03/12] added workflow --- .github/workflows/repo-to-wiki.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/repo-to-wiki.yml b/.github/workflows/repo-to-wiki.yml index c5ffbc0..2d9f53e 100644 --- a/.github/workflows/repo-to-wiki.yml +++ b/.github/workflows/repo-to-wiki.yml @@ -1,5 +1,6 @@ name: Repo to wiki on: + workflow_dispatch: push: branches: - main From d88774c221c1313865b11a21ed59ef6eae35b30e Mon Sep 17 00:00:00 2001 From: James Dow Date: Fri, 30 Apr 2021 17:24:32 -0500 Subject: [PATCH 04/12] Update repo-to-wiki.yml --- .github/workflows/repo-to-wiki.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/repo-to-wiki.yml b/.github/workflows/repo-to-wiki.yml index 2d9f53e..000d143 100644 --- a/.github/workflows/repo-to-wiki.yml +++ b/.github/workflows/repo-to-wiki.yml @@ -17,5 +17,3 @@ jobs: uses: SwiftDocOrg/github-wiki-publish-action@v1 with: path: "build" - env: - GH_PERSONAL_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }} From 788968d50771280eeb2d1394e255d8cf32084b3f Mon Sep 17 00:00:00 2001 From: James Dow Date: Fri, 30 Apr 2021 17:27:42 -0500 Subject: [PATCH 05/12] Update repo-to-wiki.yml --- .github/workflows/repo-to-wiki.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/repo-to-wiki.yml b/.github/workflows/repo-to-wiki.yml index 000d143..917ccda 100644 --- a/.github/workflows/repo-to-wiki.yml +++ b/.github/workflows/repo-to-wiki.yml @@ -17,3 +17,5 @@ jobs: uses: SwiftDocOrg/github-wiki-publish-action@v1 with: path: "build" + env: + GH_PERSONAL_ACCESS_TOKEN: ${{secrets.GH_PERSONAL_ACCESS_TOKEN}} From 5e21208e84f3f6a8b04525684a5363b4bd893b90 Mon Sep 17 00:00:00 2001 From: James Dow Date: Fri, 30 Apr 2021 17:28:55 -0500 Subject: [PATCH 06/12] Update repo-to-wiki.yml --- .github/workflows/repo-to-wiki.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/repo-to-wiki.yml b/.github/workflows/repo-to-wiki.yml index 917ccda..770eb80 100644 --- a/.github/workflows/repo-to-wiki.yml +++ b/.github/workflows/repo-to-wiki.yml @@ -18,4 +18,4 @@ jobs: with: path: "build" env: - GH_PERSONAL_ACCESS_TOKEN: ${{secrets.GH_PERSONAL_ACCESS_TOKEN}} + GH_PERSONAL_ACCESS_TOKEN: ${{secrets.wiki-helper}} From 706285698ccf245b10d58e11a4d558e15215f8dc Mon Sep 17 00:00:00 2001 From: James Dow Date: Fri, 30 Apr 2021 17:30:10 -0500 Subject: [PATCH 07/12] Update repo-to-wiki.yml --- .github/workflows/repo-to-wiki.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/repo-to-wiki.yml b/.github/workflows/repo-to-wiki.yml index 770eb80..d8cbd6b 100644 --- a/.github/workflows/repo-to-wiki.yml +++ b/.github/workflows/repo-to-wiki.yml @@ -18,4 +18,4 @@ jobs: with: path: "build" env: - GH_PERSONAL_ACCESS_TOKEN: ${{secrets.wiki-helper}} + GH_PERSONAL_ACCESS_TOKEN: ${{ secrets.wiki-helper }} From 3f35a69461908e831fdbb409cc204d7660c53339 Mon Sep 17 00:00:00 2001 From: James Dow Date: Fri, 30 Apr 2021 17:30:49 -0500 Subject: [PATCH 08/12] Update repo-to-wiki.yml --- .github/workflows/repo-to-wiki.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/repo-to-wiki.yml b/.github/workflows/repo-to-wiki.yml index d8cbd6b..2d9f53e 100644 --- a/.github/workflows/repo-to-wiki.yml +++ b/.github/workflows/repo-to-wiki.yml @@ -18,4 +18,4 @@ jobs: with: path: "build" env: - GH_PERSONAL_ACCESS_TOKEN: ${{ secrets.wiki-helper }} + GH_PERSONAL_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }} From 88baf39b79945f0701461dadaf0d5c598ef58734 Mon Sep 17 00:00:00 2001 From: James Dow Date: Fri, 30 Apr 2021 17:41:52 -0500 Subject: [PATCH 09/12] Update repo-to-wiki.yml --- .github/workflows/repo-to-wiki.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/repo-to-wiki.yml b/.github/workflows/repo-to-wiki.yml index 2d9f53e..64541b9 100644 --- a/.github/workflows/repo-to-wiki.yml +++ b/.github/workflows/repo-to-wiki.yml @@ -18,4 +18,4 @@ jobs: with: path: "build" env: - GH_PERSONAL_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GH_PERSONAL_ACCESS_TOKEN: ${{ secrets.WIKI_HELPER }} From 980861ce96b42418349a4753c5a5f2e10c3136df Mon Sep 17 00:00:00 2001 From: James Dow Date: Fri, 30 Apr 2021 17:43:12 -0500 Subject: [PATCH 10/12] closing sidebar nav items by default --- samples/_Sidebar.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/_Sidebar.md b/samples/_Sidebar.md index 2383db4..fd8fc3d 100644 --- a/samples/_Sidebar.md +++ b/samples/_Sidebar.md @@ -1,4 +1,4 @@ - +
Storybook From 99dd06e7b5283b1a9d05ec6ae5d0519a97fd27ca Mon Sep 17 00:00:00 2001 From: James Dow Date: Fri, 30 Apr 2021 17:45:19 -0500 Subject: [PATCH 11/12] trying to fix navigation bug --- .github/workflows/repo-to-wiki.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/repo-to-wiki.yml b/.github/workflows/repo-to-wiki.yml index 64541b9..57e2ba9 100644 --- a/.github/workflows/repo-to-wiki.yml +++ b/.github/workflows/repo-to-wiki.yml @@ -12,7 +12,7 @@ jobs: - uses: actions/checkout@v2 - uses: photodow/wiki-helpers@v1.5 with: - rootPath: samples + rootPath: "./samples" - name: Upload Documentation to Wiki uses: SwiftDocOrg/github-wiki-publish-action@v1 with: From 833d83a0d14dd845a06c418e64975ea706472f5e Mon Sep 17 00:00:00 2001 From: James Dow Date: Fri, 30 Apr 2021 17:47:26 -0500 Subject: [PATCH 12/12] Update repo-to-wiki.yml --- .github/workflows/repo-to-wiki.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/repo-to-wiki.yml b/.github/workflows/repo-to-wiki.yml index 57e2ba9..d644130 100644 --- a/.github/workflows/repo-to-wiki.yml +++ b/.github/workflows/repo-to-wiki.yml @@ -16,6 +16,6 @@ jobs: - name: Upload Documentation to Wiki uses: SwiftDocOrg/github-wiki-publish-action@v1 with: - path: "build" + path: "./build" env: GH_PERSONAL_ACCESS_TOKEN: ${{ secrets.WIKI_HELPER }}