File size: 570 Bytes
34097e9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
name: Deploy Wiki

on:
  push:
    branches:
      # And only on master branch
      - master

jobs:
  deploy-wiki:
    runs-on: ubuntu-latest
    steps:

    - name: Push Wiki Changes
      uses: Andrew-Chen-Wang/github-wiki-action@v3
      env:
        # Make sure you have that / at the end. We use rsync 
        # WIKI_DIR's default is wiki/
        WIKI_DIR: docs/
        GH_TOKEN: ${{ secrets.WIKI_ACTION_TOKEN }}
        GH_MAIL: [email protected]
        GH_NAME: ${{ github.repository_owner }}
        EXCLUDED_FILES: "a/ b.md"