Skip to content

Merge pull request #67 from M-arcus/opensearch #40

Merge pull request #67 from M-arcus/opensearch

Merge pull request #67 from M-arcus/opensearch #40

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_name == 'main'
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