Skip to content

[TASK] Modify documentation rendering #23

[TASK] Modify documentation rendering

[TASK] Modify documentation rendering #23

Workflow file for this run

name: Build and Commit Github-Page
on:
workflow_dispatch:
push:
branches: [ develop, main ]
permissions:
contents: write
jobs:
build-and-commit-github-page:
runs-on: ubuntu-latest
concurrency: ci-${{ github.ref }}
steps:
- name: Checkout 🛎️
uses: actions/checkout@v4
- name: Build documentation
run: |
docker run \
--rm --user $(id -u) \
-v ${PWD}:/project \
ghcr.io/typo3-documentation/render-guides:latest --config=Documentation
echo '<html><head><meta http-equiv="refresh" content="0; url=./Index.html" /></head></html>' > Documentation-GENERATED-temp/index.html
touch Documentation-GENERATED-temp/.nojekyll
- name: Deploy to GitHub Pages 🚀
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: Documentation-GENERATED-temp
target-folder: /
clean: true