Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/photodow/wiki-helpers into …
Browse files Browse the repository at this point in the history
…main
  • Loading branch information
photodow committed May 21, 2021
2 parents c71767c + 8b7869b commit ed50b0d
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 11 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/repo-to-wiki.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}'



11 changes: 7 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}'
```
</details>
Expand Down
2 changes: 1 addition & 1 deletion samples/Home.md
Original file line number Diff line number Diff line change
@@ -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.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
> ![image](https://user-images.githubusercontent.com/3793636/117874180-493bdb80-b266-11eb-8945-dde0d95431d6.png) Add a question / note
2 changes: 1 addition & 1 deletion samples/Under-construction/Lead-space-search.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
> ![image](https://user-images.githubusercontent.com/3793636/117874180-493bdb80-b266-11eb-8945-dde0d95431d6.png) Add a question / note

0 comments on commit ed50b0d

Please sign in to comment.