diff --git a/.github/workflows/publish_docs_to_wiki.yml b/.github/workflows/publish_docs_to_wiki.yml index e191794..23e373c 100644 --- a/.github/workflows/publish_docs_to_wiki.yml +++ b/.github/workflows/publish_docs_to_wiki.yml @@ -19,7 +19,7 @@ jobs: regex: true include: "docs/*.md" - name: Upload Docs to Wiki - if: github.ref_name == 'main' + if: github.ref_type == 'tag' uses: docker://decathlon/wiki-page-creator-action:latest env: GH_PAT: ${{ secrets.WIKI_ACTION_TOKEN_ServiceUser }}