diff --git a/.github/workflows/publish-wiki.yml b/.github/workflows/publish-wiki.yml new file mode 100644 index 000000000..c6a07e777 --- /dev/null +++ b/.github/workflows/publish-wiki.yml @@ -0,0 +1,24 @@ +name: Publish wiki + +on: + push: + branches: [ master ] + paths: + - wiki/** + - .github/workflows/publish-wiki.yml + +concurrency: + group: publish-wiki + cancel-in-progress: true + +permissions: + contents: write + +jobs: + publish-wiki: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: Andrew-Chen-Wang/github-wiki-action@v4 + with: + token: ${{ secrets.REPO_WIKI_WRITE_TOKEN }} diff --git a/wiki/.gitkeep b/wiki/.gitkeep new file mode 100644 index 000000000..e69de29bb diff --git a/wiki/Home.md b/wiki/Home.md new file mode 100644 index 000000000..39488ee43 --- /dev/null +++ b/wiki/Home.md @@ -0,0 +1 @@ +This is a Home page.