.gitea/workflows/deploy.yml aktualisiert
This commit is contained in:
@@ -53,10 +53,10 @@ jobs:
|
|||||||
- name: Build site
|
- name: Build site
|
||||||
run: npm run build
|
run: npm run build
|
||||||
|
|
||||||
- name: Guard — no TODO markers may ship in built HTML
|
- name: Guard — no TBD markers may ship in built HTML
|
||||||
run: |
|
run: |
|
||||||
if grep -rlE '(TODO|TBD):' dist 2>/dev/null | grep -E '\.(html|svg)$'; then
|
if grep -rlE '(TBD):' dist 2>/dev/null | grep -E '\.(html|svg)$'; then
|
||||||
echo "Built output contains unfilled <TODO:...> (or legacy <TBD:...>) markers."
|
echo "Built output contains unfilled <TBD:...>) markers."
|
||||||
echo "Fill in imprint.astro and privacy.astro operator fields before merging to main."
|
echo "Fill in imprint.astro and privacy.astro operator fields before merging to main."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user