Added wiki generator
Some checks failed
Terraform / Terraform (push) Has been cancelled
Update Authentik Applications Wiki / Generate and Update Wiki (push) Failing after 19s

This commit is contained in:
AB from home.homenet
2025-09-16 16:01:41 +03:00
parent 18c64ef812
commit 1184ff9060
2 changed files with 44 additions and 12 deletions

View File

@@ -35,12 +35,25 @@ jobs:
- name: Generate Terraform Output
run: |
echo "🔍 Generating Terraform output..."
terraform output -json > terraform-output.json
# Debug output file
echo "📄 Output file size: $(wc -c < terraform-output.json) bytes"
echo "🔍 First 200 chars of output:"
head -c 200 terraform-output.json
echo ""
echo "✅ Terraform output generated"
- name: Generate Wiki Content
run: |
cat terraform-output.json
echo "🔍 Checking output file..."
if [ ! -f "terraform-output.json" ]; then
echo "❌ terraform-output.json not found"
exit 1
fi
echo "📊 Running wiki generation script..."
python3 ../../.gitea/scripts/generate-apps-wiki.py terraform-output.json
echo "✅ Wiki content generated"