Merge pull request #164 from KovAlexey/bugfix/issue-163-catalog_cli_ext #14
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
name: Documentation | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
update-wiki: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Fix links for Wiki engine | |
run: | | |
mv -f ./docs/Readme.md ./docs/_Sidebar.md | |
find ./docs/ -type f -name "*.md" -exec sed -i 's/.md#/#/g' {} \; | |
find ./docs/ -type f -name "*.md" -exec sed -i 's/.md)/)/g' {} \; | |
- name: Sync Wiki | |
uses: joeizzard/action-wiki-sync@v1 | |
with: | |
username: 1C-Company | |
access_token: ${{ secrets.GITHUB_TOKEN }} | |
wiki_folder: docs | |
commit_username: 'GitConverter' | |
commit_email: 'GitConverter@users.noreply.github.com' | |
commit_message: 'action: wiki sync' |