diff --git a/.github/workflows/repo-to-wiki.yml b/.github/workflows/repo-to-wiki.yml index e5c5f98..66ff658 100644 --- a/.github/workflows/repo-to-wiki.yml +++ b/.github/workflows/repo-to-wiki.yml @@ -15,8 +15,14 @@ jobs: rootPath: "./samples" flattenDir: true - name: Upload Documentation to Wiki - uses: SwiftDocOrg/github-wiki-publish-action@v1 + uses: joeizzard/action-wiki-sync@master with: - path: "./build" - env: - GH_PERSONAL_ACCESS_TOKEN: ${{ secrets.WIKI_HELPER }} + username: ${{ github.event.pusher.name }} + access_token: ${{ secrets.GITHUB_TOKEN }} + wiki_folder: "./build" + commit_username: ${{ github.event.pusher.name }} + commit_email: ${{ github.event.pusher.email }} + commit_message: '[wiki sync] ${{ github.event.commits[0].message }}' + + + diff --git a/README.md b/README.md index 9d6111f..80657c3 100644 --- a/README.md +++ b/README.md @@ -139,11 +139,14 @@ jobs: rootPath: "./samples" flattenDir: true - name: Upload Documentation to Wiki - uses: SwiftDocOrg/github-wiki-publish-action@v1 + uses: joeizzard/action-wiki-sync@master with: - path: "./build" - env: - GH_PERSONAL_ACCESS_TOKEN: ${{ secrets.WIKI_HELPER }} + username: ${{ github.event.pusher.name }} + access_token: ${{ secrets.GITHUB_TOKEN }} + wiki_folder: "./build" + commit_username: ${{ github.event.pusher.name }} + commit_email: ${{ github.event.pusher.email }} + commit_message: 'action wiki sync: ${{ github.event.commits[0].message }}' ``` diff --git a/samples/Home.md b/samples/Home.md index 52195f3..e1836de 100644 --- a/samples/Home.md +++ b/samples/Home.md @@ -1,4 +1,4 @@ -# Welcome to the Carbon for IBM.com website wiki! +# Welcome to the Carbon for IBM.com website wiki! asdf This is a companion space for the official Carbon for IBM.com website. diff --git a/samples/Under-construction/Single-select.md b/samples/Under-construction/Input-select.md similarity index 99% rename from samples/Under-construction/Single-select.md rename to samples/Under-construction/Input-select.md index dbd46f4..266393e 100644 --- a/samples/Under-construction/Single-select.md +++ b/samples/Under-construction/Input-select.md @@ -96,4 +96,4 @@ function example () { ... } > ![image](https://user-images.githubusercontent.com/3793636/117873641-a6835d00-b265-11eb-8433-8c9c73a2e999.png) Identify a blocker -> ![image](https://user-images.githubusercontent.com/3793636/117874180-493bdb80-b266-11eb-8945-dde0d95431d6.png) Add a question / note \ No newline at end of file +> ![image](https://user-images.githubusercontent.com/3793636/117874180-493bdb80-b266-11eb-8945-dde0d95431d6.png) Add a question / note diff --git a/samples/Under-construction/Lead-space-search.md b/samples/Under-construction/Lead-space-search.md index c9daf35..8d4daff 100644 --- a/samples/Under-construction/Lead-space-search.md +++ b/samples/Under-construction/Lead-space-search.md @@ -102,4 +102,4 @@ function example () { ... } > ![image](https://user-images.githubusercontent.com/3793636/117873641-a6835d00-b265-11eb-8433-8c9c73a2e999.png) Identify a blocker -> ![image](https://user-images.githubusercontent.com/3793636/117874180-493bdb80-b266-11eb-8945-dde0d95431d6.png) Add a question / note \ No newline at end of file +> ![image](https://user-images.githubusercontent.com/3793636/117874180-493bdb80-b266-11eb-8945-dde0d95431d6.png) Add a question / note