feat(screenshots): replace ai mockups with real application screenshots and publish doc bundle
Validate Documentation / lint-docs (push) Successful in 11s

This commit is contained in:
Lukas Holzner
2026-09-04 09:05:00 +02:00
parent fcb92b0688
commit 68c1decda6
19 changed files with 42 additions and 13 deletions
+24
View File
@@ -18,3 +18,27 @@ jobs:
echo "Validating documentation markdown syntax..."
find docs -name "*.md" -print0 | xargs -0 -n 1 echo "Checked:"
echo "All documentation files valid."
- name: Publish Documentation Bundle to Gitea Packages
run: |
tar -czf naxos-docs-bundle.tar.gz README.md docs
echo "Packaging naxos-docs-bundle.tar.gz to Gitea Packages registry..."
TOKEN="${{ secrets.PACKAGE_TOKEN }}"
if [ -z "$TOKEN" ]; then
TOKEN="${{ secrets.GITEA_TOKEN }}"
fi
RESPONSE=$(curl -s -w "\nHTTP_STATUS:%{http_code}" -X PUT \
-H "Authorization: token ${TOKEN}" \
--upload-file naxos-docs-bundle.tar.gz \
"${{ github.server_url }}/api/packages/naxos/generic/naxos-docs/1.0.0/naxos-docs-bundle.tar.gz")
STATUS=$(echo "$RESPONSE" | grep "HTTP_STATUS:" | cut -d: -f2)
BODY=$(echo "$RESPONSE" | grep -v "HTTP_STATUS:")
echo "Package upload HTTP status: $STATUS"
if [ "$STATUS" -eq 201 ] || [ "$STATUS" -eq 200 ] || [ "$STATUS" -eq 204 ]; then
echo "Successfully published naxos-docs-bundle.tar.gz to Gitea Packages!"
elif [ "$STATUS" -eq 409 ]; then
echo "Package version 1.0.0 already published in Gitea Packages: $BODY"
else
echo "Failed to publish package to Gitea Packages ($STATUS): $BODY"
exit 1
fi