Update workflow to copy README to Wiki #10
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
name: Wiki Sync | |
jobs: | |
update-wiki: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Copy README to Wiki | |
run: | | |
mkdir -p wiki | |
cp README.md wiki/ | |
- name: Sync Wiki | |
uses: joeizzard/action-wiki-sync@main | |
with: | |
username: example | |
access_token: ${{ secrets.GH_TOKEN }} | |
wiki_folder: wiki | |
commit_username: 'Julian Prieber' | |
commit_email: 'JulianPrieber@users.noreply.github.com' | |
commit_message: 'action: wiki sync' |