Merge tag '2.1.0' into develop #34
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: 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 |