From 2883203d6bcde9b5d1833c0e06c1d47222527891 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:35:37 +0700 Subject: [PATCH] chore: update wiki-publish.yml --- .github/workflows/wiki-publish.yml | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/.github/workflows/wiki-publish.yml b/.github/workflows/wiki-publish.yml index b2cfcb4094..119bfdcd52 100644 --- a/.github/workflows/wiki-publish.yml +++ b/.github/workflows/wiki-publish.yml @@ -11,17 +11,18 @@ env: GIT_AUTHOR_NAME: Actionbot GIT_AUTHOR_EMAIL: actions@github.com jobs: - job-sync-docs-to-wiki: + publish: runs-on: ubuntu-latest steps: - - name: Checkout Repo - uses: actions/checkout@v4.1.4 - - name: Sync docs to wiki - uses: newrelic/wiki-sync-action@main - with: - source: docs - destination: wiki - branch: main - token: ${{ secrets.TOKEN }} - gitAuthorName: ${{ env.GIT_AUTHOR_NAME }} - gitAuthorEmail: ${{ env.GIT_AUTHOR_EMAIL }} + - 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