From d322f34e1d93718e9015d4d1e3bfd6024381eed0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nguy=E1=BB=85n=20L=C3=AA=20Huy?= Date: Mon, 13 May 2024 22:39:35 +0700 Subject: [PATCH] chore: update wiki-publish.yml --- .github/workflows/wiki-publish.yml | 23 +++++++---------------- 1 file changed, 7 insertions(+), 16 deletions(-) diff --git a/.github/workflows/wiki-publish.yml b/.github/workflows/wiki-publish.yml index 119bfdcd52..6e1426fb39 100644 --- a/.github/workflows/wiki-publish.yml +++ b/.github/workflows/wiki-publish.yml @@ -7,22 +7,13 @@ concurrency: cancel-in-progress: true permissions: contents: write -env: - GIT_AUTHOR_NAME: Actionbot - GIT_AUTHOR_EMAIL: actions@github.com jobs: - publish: + publish-wiki: runs-on: ubuntu-latest steps: - - name: Checkout - uses: actions/checkout@main - - name: Publish Wiki - uses: docker://decathlon/wiki-page-creator-action:latest - env: - ACTION_MAIL: ${{ env.GIT_AUTHOR_EMAIL }} - ACTION_NAME: ${{ env.GIT_AUTHOR_NAME }} - GH_PAT: ${{ secrets.TOKEN }} - # MD_FOLDER: temp_release_notes - OWNER: TensorSpeech - REPO_NAME: TensorFlowASR - # SKIP_MD: README.md + - uses: actions/checkout@v4.1.4 + - uses: Andrew-Chen-Wang/github-wiki-action@master + with: + token: ${{ secrets.TOKEN }} + path: . + preprocess: true