Merge pull request #3028 from alibaba/feature/sync #123
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: wiki | |
on: | |
push: | |
branches: | |
- master | |
- 'feature/**' | |
paths: | |
- 'docs/**' | |
- '.github/workflows/wiki.yml' | |
pull_request: | |
branches: [master] | |
paths: | |
- 'docs/**' | |
- '.github/workflows/wiki.yml' | |
concurrency: | |
group: wiki-${{ github.ref }} | |
cancel-in-progress: true | |
permissions: | |
contents: read | |
jobs: | |
sync_wiki: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: true | |
- name: sync_wiki | |
uses: kai-tub/external-repo-sync-action@v1 | |
with: | |
source-directory: "./docs" | |
env: | |
GH_ACCESS_TOKEN: ${{ secrets.GH_ACCESS_TOKEN }} |