fix: [noticket] Use default ports from now on #50
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |