Skip to content

Merge pull request #85 from kellerkinderDE/noticket/wiki-on-tag-upserts #65

Merge pull request #85 from kellerkinderDE/noticket/wiki-on-tag-upserts

Merge pull request #85 from kellerkinderDE/noticket/wiki-on-tag-upserts #65

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