test
Dieser Commit ist enthalten in:
Ursprung
302f4c5c36
Commit
5befa1dd0f
3 geänderte Dateien mit 10 neuen und 1 gelöschten Zeilen
2
script.sh → .github/workflows/fix_redirects.sh
gevendort
2
script.sh → .github/workflows/fix_redirects.sh
gevendort
|
@ -1,4 +1,6 @@
|
|||
#/bin/bash
|
||||
cd ../../ # go in docsdir
|
||||
ls -lah
|
||||
find ./site/ -maxdepth 2 -mindepth 2 -type f -name 'index.html' -not -path './site/de/*' -not -path './site/en/*' | while read f; do
|
||||
echo "Fixing redirect '$f'..."
|
||||
sed -i -E 's/\.en\/"/\/"/' $f
|
5
.github/workflows/gh-pages.yml
gevendort
5
.github/workflows/gh-pages.yml
gevendort
|
@ -24,7 +24,10 @@ jobs:
|
|||
- name: Build site 🔧
|
||||
run: |
|
||||
mkdocs build --verbose --clean
|
||||
bash script.sh
|
||||
|
||||
- name: Fixing redirects 🚧
|
||||
run: |
|
||||
bash fix_redirects.sh
|
||||
|
||||
- name: Deploy 🚀
|
||||
uses: JamesIves/github-pages-deploy-action@v4.2.3
|
||||
|
|
4
.github/workflows/renovate_check-build.yml
gevendort
4
.github/workflows/renovate_check-build.yml
gevendort
|
@ -22,3 +22,7 @@ jobs:
|
|||
- name: Build site 🔧
|
||||
run: |
|
||||
mkdocs build --verbose --clean
|
||||
|
||||
- name: Fixing redirects 🚧
|
||||
run: |
|
||||
bash fix_redirects.sh
|
||||
|
|
Laden …
In neuem Issue referenzieren