Skip to content

fix: [noticket] Change wiki publish to tag releases #63

fix: [noticket] Change wiki publish to tag releases

fix: [noticket] Change wiki publish to tag releases #63

name: Publish docs to Wiki
on:
push:
paths:
- docs/**
- .github/workflows/publish_docs_to_wiki.yml
jobs:
publish_docs_to_wiki:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@main
- name: Replace .md for wiki compatibility
uses: jacobtomlinson/gha-find-replace@v3
with:
find: "\\.md"
replace: "$1"
regex: true
include: "docs/*.md"
- name: Upload Docs to Wiki
if: github.ref_type == 'tag'
uses: docker://decathlon/wiki-page-creator-action:latest
env:
GH_PAT: ${{ secrets.WIKI_ACTION_TOKEN_ServiceUser }}
ACTION_MAIL: [email protected]
ACTION_NAME: kellerkinder-service
OWNER: kellerkinderDE
REPO_NAME: devenv-shopware
WIKI_PUSH_MESSAGE: "Auto publish docs to wiki"
TRANSLATE_UNDERSCORE_TO_SPACE: true
MD_FOLDER: docs