-
-
Notifications
You must be signed in to change notification settings - Fork 9
36 lines (29 loc) · 976 Bytes
/
pages.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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 render 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